Skip to content

Commit

Permalink
fix(web): add a placeholder for loading on queue screen
Browse files Browse the repository at this point in the history
  • Loading branch information
brunocroh committed May 15, 2024
1 parent f0c12f6 commit 6837958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/app/queue/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default function Page(): JSX.Element {
socket.emit(inQueue ? "queueExit" : "queueJoin", { id: me });
}, [inQueue, me]);

if (!ready) return;
if (!ready) return <div>loading</div>;

return (
<main className="flex flex-col h-full">
Expand Down

0 comments on commit 6837958

Please sign in to comment.