This commit is contained in:
hailin 2025-04-18 17:34:36 +08:00
parent 7c07c19d16
commit 1df7f447cd
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ interface GlobalStateProps {
export const GlobalState: FC<GlobalStateProps> = ({ children }) => {
const router = useRouter()
const pathname = usePathname() // 获取当前路径
// PROFILE STORE
const [profile, setProfile] = useState<Tables<"profiles"> | null>(null)