Renamed id routes for API.

This commit is contained in:
Mike Cao 2024-01-31 22:08:48 -08:00
parent 53a991176b
commit 4429198397
42 changed files with 154 additions and 170 deletions

View file

@ -11,10 +11,9 @@ export interface DateFilterProps {
value: string;
startDate: Date;
endDate: Date;
offset: number;
offset?: number;
className?: string;
onChange?: (value: string) => void;
selectedUnit?: string;
showAllTime?: boolean;
alignment?: 'start' | 'center' | 'end';
}
@ -23,7 +22,7 @@ export function DateFilter({
startDate,
endDate,
value,
offset,
offset = 0,
className,
onChange,
showAllTime = false,