mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-27 13:45:27 -05:00
fixing the bug fix
This commit is contained in:
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])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user