mirror of
https://github.com/kuhyx/WUT_Computer_Science.git
synced 2026-07-04 17:23:12 +02:00
13 lines
228 B
JavaScript
13 lines
228 B
JavaScript
import {createContext} from "react";
|
|
|
|
const INITIAL_STATE = {
|
|
user:null,
|
|
isFetching:false,
|
|
error:false
|
|
};
|
|
|
|
export const Context = createContext(INITIAL_STATE);
|
|
|
|
export const ContextProvider = ({children}) => {
|
|
|
|
} |