diff --git a/apps/web/app/[locale]/timesheet/[memberId]/components/TimesheetFilter.tsx b/apps/web/app/[locale]/timesheet/[memberId]/components/TimesheetFilter.tsx index 1c4418ea1..a53934536 100644 --- a/apps/web/app/[locale]/timesheet/[memberId]/components/TimesheetFilter.tsx +++ b/apps/web/app/[locale]/timesheet/[memberId]/components/TimesheetFilter.tsx @@ -1,13 +1,14 @@ import { FilterWithStatus } from './FilterWithStatus'; -import { FrequencySelect, TimeSheetFilterPopover, TimesheetFilterDate } from '.'; +import { FrequencySelect, TimeSheetFilterPopover, TimesheetFilterDate, TimesheetFilterDateProps } from '.'; import { Button } from 'lib/components'; import { AddManualTimeModal } from '@/lib/features/manual-time/add-manual-time-modal'; interface ITimesheetFilter { isOpen: boolean, openModal: () => void, closeModal: () => void + initDate?: TimesheetFilterDateProps } -export function TimesheetFilter({ closeModal, isOpen, openModal }: ITimesheetFilter) { +export function TimesheetFilter({ closeModal, isOpen, openModal, initDate }: ITimesheetFilter,) { return ( <> { @@ -29,7 +30,7 @@ export function TimesheetFilter({ closeModal, isOpen, openModal }: ITimesheetFil