Fix profile page not switching between users

This commit is contained in:
MartinBraquet
2025-11-02 21:41:23 +01:00
parent 943c3960e1
commit ccc48620b8

View File

@@ -190,6 +190,10 @@ export default function UserPage(props: UserPageProps) {
}
load()
} else {
setUser(props.user)
setProfile(props.profile)
setNotFoundCustomText(props.notFoundCustomText)
}
// On web, initialProfile from SSR/ISR is already loaded
}, [username, nativeMobile]);