Fix theme hook import and registry (#718)

This commit is contained in:
shenlan 2025-12-02 11:42:42 +08:00 committed by GitHub
parent 8d946b458e
commit 19abb74416
2 changed files with 2 additions and 2 deletions

View File

@ -4,4 +4,4 @@ enableGlobalCache: false
nodeLinker: node-modules
npmRegistryServer: "https://registry.npmmirror.com"
npmRegistryServer: "https://registry.npmjs.org"

View File

@ -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()