diff --git a/components/AgbHistoryBlock.tsx b/components/AgbHistoryBlock.tsx index f11e82a6..ab08effc 100644 --- a/components/AgbHistoryBlock.tsx +++ b/components/AgbHistoryBlock.tsx @@ -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 }); diff --git a/components/PayloadRichText.tsx b/components/PayloadRichText.tsx index 3497b2aa..580be5d7 100644 --- a/components/PayloadRichText.tsx +++ b/components/PayloadRichText.tsx @@ -796,8 +796,8 @@ const jsxConverters: JSXConverters = { ); }, - imageGallery: ({ node }: any) => , - 'block-imageGallery': ({ node }: any) => , + imageGallery: ({ node: _node }: any) => , + 'block-imageGallery': ({ node: _node }: any) => , categoryGrid: ({ node }: any) => { const cats = node.fields.categories || []; return (