more
This commit is contained in:
@@ -22,7 +22,7 @@ const AppContext = createContext({
|
||||
const AppProvider = ({ children }) => {
|
||||
const { currentUserEmail } = useContext(AuthContext);
|
||||
const [appState, appDispatch] = useReducer(useGroupReducer, initialState);
|
||||
console.log("currentUserEmail in AppProvider", currentUserEmail);
|
||||
|
||||
useEffect(() => {
|
||||
if (typeof currentUserEmail === "undefined") {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user