add: added 404 page and fixed home loading display

This commit is contained in:
Lukian LEIZOUR 2025-04-18 18:15:36 +02:00
parent 63914b5b3b
commit d28e14e262
5 changed files with 58 additions and 1 deletions

View file

@ -93,6 +93,8 @@ export default function ChannelPage({socket}: {socket: WebSocket}) {
});
}, [channel])
console.log(channel)
useEffect(() => {
const words = message.toString().split(" ");
const lastWord = words[words.length - 1];