mirror of
https://github.com/CompassConnections/Compass.git
synced 2025-12-23 22:18:43 -05:00
Fix profile page not switching between users
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user