securityos/contexts/session/index.tsx

7 lines
279 B
TypeScript

import contextFactory from "contexts/contextFactory";
import useSessionContextState from "contexts/session/useSessionContextState";
const { Provider, useContext } = contextFactory(useSessionContextState);
export { Provider as SessionProvider, useContext as useSession };