diff --git a/src/components/sidebar/buttons.tsx b/src/components/sidebar/buttons.tsx index dcb5e27..50801b8 100644 --- a/src/components/sidebar/buttons.tsx +++ b/src/components/sidebar/buttons.tsx @@ -83,11 +83,9 @@ export function CloseSidebarButton({ closeSidebarFunction }: { closeSidebarFunct ); } -export function AddAedButton({ nextStep }: { nextStep: (event: Event) => void }) { +export function AddAedButton({ nextStep }: { nextStep: (event: React.MouseEvent) => void }) { const { t } = useTranslation(); return ( - // TODO type - // @ts-ignore