Skip to content

Commit 0e18dd9

Browse files
committed
refactor: update dependencies and fix linting issues
- Update "next" package to version 15.0.0-canary.195 - Update "eslint-config-next" package to version 15.0.0-canary.195 - Fix linting issues in "DayButton" component
1 parent 1772a7b commit 0e18dd9

File tree

3 files changed

+98
-106
lines changed

3 files changed

+98
-106
lines changed

apps/docs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"jotai": "^2.10.1",
3030
"lodash-es": "^4.17.21",
3131
"lucide-react": "^0.447.0",
32-
"next": "15.0.0-rc.1",
32+
"next": "15.0.0-canary.195",
3333
"react": "19.0.0-rc-cd22717c-20241013",
3434
"react-dom": "19.0.0-rc-cd22717c-20241013",
3535
"react-hook-form": "^7.53.0",
@@ -57,7 +57,7 @@
5757
"chromatic": "^11.12.0",
5858
"concurrently": "^9.0.1",
5959
"eslint": "^8.57.1",
60-
"eslint-config-next": "^14.2.15",
60+
"eslint-config-next": "15.0.0-canary.195",
6161
"eslint-config-turbo": "^2.1.3",
6262
"eslint-plugin-storybook": "^0.9.0",
6363
"postcss": "^8.4.47",

packages/ui/src/components/calendar.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import {
1919
DayPicker,
2020
type DayPickerProps,
2121
type Matcher,
22+
type Modifiers,
2223
SelectionState,
2324
UI,
2425
} from 'react-day-picker';
@@ -57,12 +58,15 @@ function Chevron({
5758
* Component: DayButton
5859
* -------------------------------------------------------------------------- */
5960

61+
interface DayButtonProps extends ComponentProps<'button'> {
62+
modifiers: Modifiers;
63+
}
64+
6065
function DayButton({
61-
day: _,
6266
modifiers,
6367
className,
6468
...props
65-
}: ComponentProps<CustomComponents['DayButton']>): JSX.Element {
69+
}: DayButtonProps): JSX.Element {
6670
const buttonRef = useRef<HTMLButtonElement>(null);
6771

6872
useEffect(() => {

0 commit comments

Comments
 (0)