add: changed homepage to display most active channels

This commit is contained in:
Lukian 2025-04-04 21:31:29 +02:00
parent 411aa149ac
commit dfb6639ecf
10 changed files with 179 additions and 14 deletions

View file

@ -24,7 +24,7 @@ export default function UserPage() {
.get(`/api/users/${username}/lastmessages`).then((res) => {
setMessages(res.data)
})
}, 5000)
}, 2000)
return () => { clearInterval(id) }
}, [])