ThemeProvider nitpicks

This commit is contained in:
Alex Gleason committed 2025-06-01 09:37:49 -05:00
1 parent 7c5fe75572
commit 738b512d9c
4 files changed
+26 -24

No files matched your search

+3 -3
View File
@@ -1,5 +1,5 @@
import { useEffect, useState } from "react"
import { Theme, ThemeProviderContext } from "@/lib/theme-context"
import { type Theme, ThemeContext } from "@/lib/ThemeContext"
type ThemeProviderProps = {
children: React.ReactNode
@@ -61,9 +61,9 @@ export function ThemeProvider({
}
return (
<ThemeProviderContext.Provider {...props} value={value}>
<ThemeContext.Provider {...props} value={value}>
{children}
</ThemeProviderContext.Provider>
</ThemeContext.Provider>
)
}