diff --git a/apps/web/app/[locale]/timesheet/[memberId]/components/SelectionBar.tsx b/apps/web/app/[locale]/timesheet/[memberId]/components/SelectionBar.tsx index 73d33112e..3f4a0d28f 100644 --- a/apps/web/app/[locale]/timesheet/[memberId]/components/SelectionBar.tsx +++ b/apps/web/app/[locale]/timesheet/[memberId]/components/SelectionBar.tsx @@ -1,7 +1,12 @@ import { cn } from "@/lib/utils"; import { useTranslations } from "next-intl"; -const ActionButton = ({ label, onClick }: { label: string; onClick?: () => void }) => ( +type ActionButtonProps = { + label: string; + onClick?: (event: React.MouseEvent) => void; +}; + +const ActionButton = ({ label, onClick }: ActionButtonProps) => (