seahaven-ap/src/providers/mock-session-context.ts
Adam Moussa 5c82936e50
feat(frontend): add invoice detail 3-pane shell (AP-6) (#9)
Prove invoice coding and collaboration layout on mocks with a fixture PDF viewer, editable header/lines, Comments/Activity feeds, and role-aware action stubs via mock session switching.
2026-08-10 22:22:22 +00:00

9 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);