Skip to content

Commit

Permalink
(fix) CurrentUserContext should always render children (#378)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibacher authored Apr 1, 2022
1 parent 8501366 commit faea513
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/apps/esm-login-app/src/CurrentUserContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,5 @@ export const CurrentUserContext: React.FC = ({ children }) => {
return () => sub.unsubscribe();
}, []);

return (
<CurrentUser.Provider value={value}>
{!user.loading && children}
</CurrentUser.Provider>
);
return <CurrentUser.Provider value={value}>{children}</CurrentUser.Provider>;
};

0 comments on commit faea513

Please sign in to comment.