Skip to content

Commit

Permalink
Games: Add loading indicator.
Browse files Browse the repository at this point in the history
  • Loading branch information
vikpe committed Jun 20, 2024
1 parent 2c34ea2 commit 27845c0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/pages/games/browser/Browser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ const Games = () => {

return (
<div>
{isLoading && !hasGames && (
<div className="flex min-h-[25vh] text-gray-300 justify-center items-center bg-[#223]">
loading ..
</div>
)}

{displayMode === "Grid" ? (
<GameGrid games={games} />
) : (
Expand Down

0 comments on commit 27845c0

Please sign in to comment.