move to public repo

This commit is contained in:
Nathaniel Tampus
2023-01-03 15:47:30 +08:00
commit 17ce3cf4c4
58 changed files with 2430 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
import { User } from "@types";
import { createContext, Dispatch, SetStateAction } from "react";
export const SessionContext = createContext<{
user: User;
setUser: Dispatch<SetStateAction<User>>;
} | null>(null);