"use client"; import { useAtomValue } from "jotai"; import { loadingAtom } from "@/store/jotai/loading"; export function LoadingOverlay({ force = false }: { force?: boolean }) { const isLoading = useAtomValue(loadingAtom); if (!force && !isLoading) return null; return (
{/* 심플 로딩 인디케이터 */}
); }