Skip to content

Commit

Permalink
user-login-bug-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
salman-neslit committed Dec 20, 2024
1 parent 3ebf45e commit bd50c61
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ export const KnockFeedWrapper = ({ children }: KnockFeedWrapperProps) => {
doAsync().catch(console.error);
}, [user.email, user.id, user.isLoggedIn, user.knockJWT]);

if (!user.id || !user.isLoggedIn || !user.knockJWT) return null;

return (
<KnockProvider
apiKey={KNOCK_PUBLIC_API_KEY}
Expand Down

0 comments on commit bd50c61

Please sign in to comment.