generated from lucien/api-template
add: changed homepage to display most active channels
This commit is contained in:
parent
411aa149ac
commit
dfb6639ecf
10 changed files with 179 additions and 14 deletions
|
@ -24,7 +24,7 @@ export default function UserPage() {
|
|||
.get(`/api/users/${username}/lastmessages`).then((res) => {
|
||||
setMessages(res.data)
|
||||
})
|
||||
}, 5000)
|
||||
}, 2000)
|
||||
|
||||
return () => { clearInterval(id) }
|
||||
}, [])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue