import React from "react"; import { useNavigate } from "react-router-dom"; import NavBar from "@/components/NavBar"; import SyncSettings from "@/components/SyncSettings"; import AppVersionInfo from "@/components/AppVersionInfo"; import { User, CreditCard, Bell, Lock, HelpCircle, LogOut, ChevronRight, Smartphone, } from "lucide-react"; import { cn } from "@/lib/utils"; import { useAuth } from "@/hooks/auth/useClerkAuth"; import { useToast } from "@/hooks/useToast.wrapper"; import SafeAreaContainer from "@/components/SafeAreaContainer"; // 개발 모드 체크 const isDevelopment = process.env.NODE_ENV === "development"; const SettingsOption = ({ icon: Icon, label, description, onClick, color = "text-neuro-income", disabled = false, }: { icon: React.ElementType; label: string; description?: string; onClick?: () => void; color?: string; disabled?: boolean; }) => { return (
{description}
)}{userId ? `ID: ${userId.substring(0, 8)}...` : "인증됨"}
계정에 로그인하세요