This commit is contained in:
Mackie 2026-05-24 22:46:44 +08:00
parent 5c0c2e25dc
commit 0796156544
2 changed files with 1 additions and 2 deletions

View file

@ -1,6 +1,5 @@
"use client"; "use client";
import { useThemeMode } from '@/hooks/useThemeMode' import { useThemeMode } from '@/hooks/useThemeMode'
// REPLACE WITH:
import { useEffect, useRef } from "react"; import { useEffect, useRef } from "react";
const STAR_TONES = [255, 210, 160, 110, 65]; const STAR_TONES = [255, 210, 160, 110, 65];

View file

@ -7,7 +7,7 @@ import { ArrowRightIcon, PhoneCallIcon } from 'lucide-react'
import { createPortal } from 'react-dom' import { createPortal } from 'react-dom'
import { MenuToggleIcon } from '@/components/ui/menu-toggle-icon' import { MenuToggleIcon } from '@/components/ui/menu-toggle-icon'
import { useScroll } from '@/components/ui/use-scroll' import { useScroll } from '@/components/ui/use-scroll'
// ADD this line after the other imports:
import { useThemeMode } from '@/hooks/useThemeMode' import { useThemeMode } from '@/hooks/useThemeMode'
// ─── Types ──────────────────────────────────────────────────────────────────── // ─── Types ────────────────────────────────────────────────────────────────────