mirror of
https://github.com/Sea-Haven-Industries/seahaven-ap.git
synced 2026-10-01 23:13:21 +00:00
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.
9 lines
276 B
TypeScript
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);
|