securityos/contexts/session/index.tsx

7 lines
279 B
TypeScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
import contextFactory from "contexts/contextFactory";
import useSessionContextState from "contexts/session/useSessionContextState";
const { Provider, useContext } = contextFactory(useSessionContextState);
export { Provider as SessionProvider, useContext as useSession };