chore: add all the code from original repo
This commit is contained in:
11
contexts/ProfileContext.ts
Normal file
11
contexts/ProfileContext.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { createContext } from 'react';
|
||||
|
||||
interface ProfileContextProps {
|
||||
profile: string | undefined;
|
||||
setProfile: (profile: string | undefined) => void;
|
||||
}
|
||||
|
||||
export const ProfileContext = createContext<ProfileContextProps>({
|
||||
profile: undefined,
|
||||
setProfile: () => {}
|
||||
});
|
||||
Reference in New Issue
Block a user