Skip to content

Commit

Permalink
fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
day-mon committed Oct 11, 2024
1 parent 131a26f commit 5581545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/pages/Games.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export const Games = () => {
<Match when={games.error}>
<AnimationDiv class="text-center text-white">Error fetching games</AnimationDiv>
</Match>
<Match when={games.length === 0 && games.state !== "refreshing"}>
<Match when={games.length === 0 && (games.state !== "refreshing" && games.state !== "ready")}>
<AnimationDiv class="flex flex-grow items-center justify-center">
<div class="text-center">
<div class="text-lg font-semibold text-white light:text-black">No games found</div>
Expand Down

0 comments on commit 5581545

Please sign in to comment.