Skip to content

Commit 14602f7

Browse files
committed
Update next-themes version so it can use react 19
1 parent d09bea6 commit 14602f7

File tree

5 files changed

+10
-12
lines changed

5 files changed

+10
-12
lines changed

bun.lock

Lines changed: 5 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

freebuff/web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"lucide-react": "^0.487.0",
2424
"next": "15.5.11",
2525
"next-auth": "^4.24.11",
26-
"next-themes": "^0.3.0",
26+
"next-themes": "^0.4.6",
2727
"pino": "^9.6.0",
2828
"react": "^19.0.0",
2929
"react-dom": "^19.0.0",

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@
4545
"zod": "^4.2.1"
4646
},
4747
"overrides": {
48+
"react": "^19.0.0",
49+
"react-dom": "^19.0.0",
4850
"@types/react": "19.2.14",
4951
"@types/react-dom": "19.2.3",
5052
"baseline-browser-mapping": "^2.9.14",

web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"next": "15.5.11",
7676
"next-auth": "^4.24.11",
7777
"next-contentlayer2": "^0.5.8",
78-
"next-themes": "^0.3.0",
78+
"next-themes": "^0.4.6",
7979
"nextjs-linkedin-insight-tag": "^0.0.6",
8080
"pino": "^9.6.0",
8181
"posthog-js": "^1.234.10",

web/src/components/theme-provider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use client'
22

33
import { ThemeProvider as NextThemesProvider } from 'next-themes'
4-
import { type ThemeProviderProps } from 'next-themes/dist/types'
4+
import { type ThemeProviderProps } from 'next-themes'
55
import { useEffect } from 'react'
66

77
export const ThemeProvider = ({ children, ...props }: ThemeProviderProps) => {

0 commit comments

Comments
 (0)