From 263640bce5abd68e8eacdd03eb7f1387e4e27d6d Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Mon, 27 Apr 2026 12:39:46 +0200 Subject: [PATCH] fix: resolve lint warnings in AgbHistoryBlock and PayloadRichText --- components/AgbHistoryBlock.tsx | 2 +- components/PayloadRichText.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 (