Skip to content

Commit

Permalink
fix: unused properties
Browse files Browse the repository at this point in the history
  • Loading branch information
phucvinh57 committed Nov 1, 2024
1 parent 21d978a commit 9238ffc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/ui/calendar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ function Calendar({ className, classNames, showOutsideDays = true, ...props }: C
...classNames
}}
components={{
IconLeft: ({ ...props }) => <ChevronLeftIcon className='h-4 w-4' />,
IconRight: ({ ...props }) => <ChevronRightIcon className='h-4 w-4' />
IconLeft: () => <ChevronLeftIcon className='h-4 w-4' />,
IconRight: () => <ChevronRightIcon className='h-4 w-4' />
}}
{...props}
/>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"build": "next build",
"start": "next start",
"preview": "next build && next start",
"check": "biome check --write --unsafe --no-errors-on-unmatched",
"type-check": "biome check --write --unsafe --no-errors-on-unmatched",
"prepare": "lefthook install"
},
"dependencies": {
Expand Down

0 comments on commit 9238ffc

Please sign in to comment.