blob: a6ddefce276c298bd0fcd9ad6e6cf3c442c6b732 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
import type { ReactNode } from "react";
import { useAuthInit, useSyncInit } from "../atoms";
interface StoreInitializerProps {
children: ReactNode;
}
export function StoreInitializer({ children }: StoreInitializerProps) {
useAuthInit();
useSyncInit();
return <>{children}</>;
}
|