mirror of
https://github.com/Sea-Haven-Industries/seahaven-ap.git
synced 2026-10-04 13:42:00 +00:00
10 lines
276 B
TypeScript
10 lines
276 B
TypeScript
|
|
import { createContext } from "react";
|
||
|
|
import type { MockUser } from "@/mocks";
|
||
|
|
|
||
|
|
export type MockSessionContextValue = {
|
||
|
|
user: MockUser;
|
||
|
|
setCurrentUserId: (userId: string) => void;
|
||
|
|
};
|
||
|
|
|
||
|
|
export const MockSessionContext = createContext<MockSessionContextValue | null>(null);
|