This commit is contained in:
parent
7c07c19d16
commit
1df7f447cd
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue