Hey folks i have a doubt . why does redux store re-initializes when i logout (i.e. when i call deleteSessions). Is it default, like how Appwrite works or my code problem
Doubt regarding deleteSessions() [RTK]
I don’t know anything about Redux, but are you doing some kind of account check (account.get()) on the page? If so, I’d guess this is Appwrite?
@ideclon Yes with useEffect
Calls account .get() as soon as webpage loads.
I just want to check if user is logged in before showing them home page
Recommended threads
- Custom API domain is unreachable
Earlier my custom api domain was working fine. Now it seems to be offline without a trace a few hours later. I didn't change anything, all the relevant DNS reco...
- "Invalid console fingerprint" when unpau...
I've tried logging out and logging back in, still can't figure out why this is happening.
- Inviting members while SMTP is disabled ...
Issue: https://github.com/appwrite/console/issues/3125 PR: https://github.com/appwrite/console/pull/3126