-
Hey everybody, I have some problems with my fake login. Login works so far but my user greetings are empty. My logout button unfortunately doesn't show any signs of life. The console.logs also don't respond to the button, so I must've made a mistake somewhere there. Can someone please take a look and tell me where I went wrong? When I feed ChatGPT with the question and the information, it always suggests Context or Redux or something... I don't have a database; everything runs through localStorageState(). My current PR: PR Thanks so much in advance <3 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
In {loggedIn && <LogoutButton loggedIn={loggedIn} handleLogout={handleLogout} />} |
Beta Was this translation helpful? Give feedback.
In
_app.js
you forgot to pass down the props to yourLogoutButton
component 😉