ChatGPT-Next-Web/app/SyncOnFirstLoad.tsx
2025-06-25 23:25:07 +07:00

15 lines
297 B
TypeScript

"use client";
import { useEffect } from "react";
import { useSyncStore } from "./store/sync";
export default function SyncOnFirstLoad() {
const syncStore = useSyncStore();
useEffect(() => {
// Parse cookies using the custom function
// syncStore.sync();
}, []);
return null;
}