mirror of
https://github.com/wgh136/nysoure.git
synced 2025-09-27 12:17:24 +00:00
serve frontend
This commit is contained in:
@@ -28,6 +28,10 @@ export default function UserPage() {
|
||||
});
|
||||
}, [username]);
|
||||
|
||||
useEffect(() => {
|
||||
document.title = username || "User";
|
||||
}, [username]);
|
||||
|
||||
if (!user) {
|
||||
return <div className="w-full">
|
||||
<Loading />
|
||||
|
Reference in New Issue
Block a user