mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-03 00:29:10 +00:00
pass user object to user context
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { GetUserResponse } from "@server/routers/user";
|
||||
import { createContext } from "react";
|
||||
|
||||
export const UserContext = createContext<boolean | null>(null);
|
||||
export const UserContext = createContext<GetUserResponse | null>(null);
|
||||
|
||||
Reference in New Issue
Block a user