Fix theme hook import and registry (#718)
This commit is contained in:
parent
8d946b458e
commit
19abb74416
@ -4,4 +4,4 @@ enableGlobalCache: false
|
||||
|
||||
nodeLinker: node-modules
|
||||
|
||||
npmRegistryServer: "https://registry.npmmirror.com"
|
||||
npmRegistryServer: "https://registry.npmjs.org"
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
'use client'
|
||||
import { BookOpen, Github, Globe, Link, Moon, Sun } from 'lucide-react'
|
||||
|
||||
import { useTheme } from '@theme'
|
||||
import { useTheme } from '@theme/useTheme'
|
||||
|
||||
export default function Footer() {
|
||||
const { isDark, toggleTheme } = useTheme()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user