fix: resolve lint warnings in AgbHistoryBlock and PayloadRichText
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 9s
Build & Deploy / 🧪 QA (push) Successful in 1m18s
Build & Deploy / 🏗️ Build (push) Successful in 4m20s
Build & Deploy / 🚀 Deploy (push) Successful in 20s
Build & Deploy / 🧪 Post-Deploy Verification (push) Failing after 5m3s
Build & Deploy / 🔔 Notify (push) Successful in 2s

This commit is contained in:
2026-04-27 12:39:46 +02:00
parent 1cc8fa4db4
commit 263640bce5
2 changed files with 3 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
import React from 'react';
import { getPayload } from 'payload';
import configPromise from '@payload-config';
import { Container, Card, Heading } from '@/components/ui';
import { Heading } from '@/components/ui';
export const AgbHistoryBlock: React.FC<{ title: string }> = async ({ title }) => {
const payload = await getPayload({ config: configPromise });

View File

@@ -796,8 +796,8 @@ const jsxConverters: JSXConverters = {
</Section>
);
},
imageGallery: ({ node }: any) => <Gallery />,
'block-imageGallery': ({ node }: any) => <Gallery />,
imageGallery: ({ node: _node }: any) => <Gallery />,
'block-imageGallery': ({ node: _node }: any) => <Gallery />,
categoryGrid: ({ node }: any) => {
const cats = node.fields.categories || [];
return (