mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-07-31 08:06:51 -05:00
fixing the bug fix
This commit is contained in:
parent
477d5f3baa
commit
acd812ce09
2
react-ui/src/components/user/UserPage.js
vendored
2
react-ui/src/components/user/UserPage.js
vendored
|
|
@ -18,7 +18,7 @@ const UserPage = () => {
|
|||
const userLeanQuery = useQuery(userLean)
|
||||
|
||||
useEffect(() => {
|
||||
if (loading && data) return
|
||||
if (loading || !data.searchForUser) return
|
||||
document.title = `${data.searchForUser.username} - sendou.ink`
|
||||
}, [loading, data])
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user