diff --git a/webui/src/common/contexts/StateContext/StateContext.jsx b/webui/src/common/contexts/StateContext/StateContext.jsx new file mode 100644 index 0000000..930c6ae --- /dev/null +++ b/webui/src/common/contexts/StateContext/StateContext.jsx @@ -0,0 +1,13 @@ +import {createContext, useState} from "react"; + +export const StateContext = createContext({}); + +export const StateProvider = ({ children }) => { + const [currentState, setCurrentState] = useState("Home"); + + return ( + + {children} + + ) +} \ No newline at end of file