diff --git a/src/sections/loadGame/chessComInput.tsx b/src/sections/loadGame/chessComInput.tsx index 39f6a51..7d30a19 100644 --- a/src/sections/loadGame/chessComInput.tsx +++ b/src/sections/loadGame/chessComInput.tsx @@ -3,6 +3,7 @@ import { getUserRecentGames } from "@/lib/chessCom"; import { capitalize } from "@/lib/helpers"; import { ChessComGame } from "@/types/chessCom"; import { + CircularProgress, FormControl, Grid, ListItemButton, @@ -47,7 +48,7 @@ export default function ChessComInput({ pgn, setPgn }: Props) { return ( <> - + - {games.length > 0 && ( + {chessComUsername && ( {games.map((game) => ( ))} + + {games.length === 0 && } )}