11
apps/trust/src/providers/Viewer.tsx
Normal file
11
apps/trust/src/providers/Viewer.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import { createContext } from "react";
|
||||
|
||||
interface ViewerContextValue {
|
||||
fullName: string;
|
||||
email: string;
|
||||
}
|
||||
|
||||
export const Viewer = createContext<ViewerContextValue | undefined | null>({
|
||||
email: "",
|
||||
fullName: "",
|
||||
});
|
||||
Reference in New Issue
Block a user