refetch useSession data

hi, I have a settings page where I let users change their username. Happens so that that exact username is in the NavBar and needs to be updated. In the navbar I'm using useSession to get the users username. How do I refetch this? I googled around for a bit and running getSession({ triggerEvent: true, broadcast: true }) after mutating the username works to some extend, just not on the same window? It updates the username in other windows though, but not the window where that code is ran.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server