Skip to content

Commit

Permalink
Update packages/realm-react/src/UserProvider.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: LJ <81748770+elle-j@users.noreply.github.com>
  • Loading branch information
takameyer and elle-j committed Oct 31, 2023
1 parent d60abed commit 14795a3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/realm-react/src/UserProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ export const UserProvider: React.FC<UserProviderProps> = ({ fallback: Fallback,

useEffect(() => {
const event = () => {
console.log("UserProvider: user changed");
console.log("UserProvider: app.currentUser", app.currentUser);
console.log("UserProvider: app.currentUser.id", app.currentUser);
setUser(app.currentUser);
};
user?.addListener(event);
Expand Down

0 comments on commit 14795a3

Please sign in to comment.