Skip to content

Commit b7cc4a9

Browse files
committed
Fix types
1 parent 6c679f3 commit b7cc4a9

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

freebuff/web/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"@radix-ui/react-slot": "^1.1.2",
2020
"class-variance-authority": "^0.7.1",
2121
"clsx": "^2.1.1",
22-
"drizzle-orm": "0.45.1",
2322
"framer-motion": "^11.13.3",
2423
"lucide-react": "^0.487.0",
2524
"next": "15.5.11",

freebuff/web/src/components/theme-provider.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
'use client'
22

3-
import { ThemeProvider as NextThemesProvider, type ThemeProviderProps } from 'next-themes'
4-
import { useEffect } from 'react'
3+
import { ThemeProvider as NextThemesProvider } from 'next-themes'
4+
import { type ComponentProps, useEffect } from 'react'
5+
6+
type ThemeProviderProps = ComponentProps<typeof NextThemesProvider>
57

68
export const ThemeProvider = ({ children, ...props }: ThemeProviderProps) => {
79
useEffect(() => {

freebuff/web/tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222
}
2323
],
2424
"paths": {
25-
"@/*": ["./src/*"]
25+
"@/*": ["./src/*"],
26+
"drizzle-orm": ["../../packages/internal/node_modules/drizzle-orm"],
27+
"drizzle-orm/*": ["../../packages/internal/node_modules/drizzle-orm/*"]
2628
}
2729
},
2830
"include": [

0 commit comments

Comments
 (0)