generated from lucien/api-template
fix: fixed user last message not refreshing
This commit is contained in:
parent
e38691c02a
commit
649c43da98
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ export default function UserPage() {
|
|||
}, 2000)
|
||||
|
||||
return () => { clearInterval(id) }
|
||||
}, [])
|
||||
}, [username])
|
||||
|
||||
if (!user) {
|
||||
return <div>Loading...</div>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue