fix:google login
This commit is contained in:
14
src/contexts/RootStore.jsx
Normal file
14
src/contexts/RootStore.jsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import React, { createContext, useContext, useState, useEffect } from "react";
|
||||
|
||||
const RootStoreContext = createContext({});
|
||||
|
||||
export const RootStoreProvider = ({ children }) => {
|
||||
return (
|
||||
<RootStoreContext.Provider value={{}}>{children}</RootStoreContext.Provider>
|
||||
);
|
||||
};
|
||||
|
||||
export const useTheme = () => {
|
||||
const context = useContext(RootStoreContext);
|
||||
return context;
|
||||
};
|
||||
Reference in New Issue
Block a user