diff --git a/front/views/SongLobbyView.tsx b/front/views/SongLobbyView.tsx index c586679..019c034 100644 --- a/front/views/SongLobbyView.tsx +++ b/front/views/SongLobbyView.tsx @@ -59,13 +59,13 @@ const SongLobbyView = (props: RouteProps) => { - {scoresQuery.data!.sort()[0]?.score} + {scoresQuery.data!.sort()[0]?.score ?? 0} - {scoresQuery.data!.slice(-1)[0]!.score} + {scoresQuery.data!.slice(-1)[0]?.score ?? 0} {/* {songQuery.data!.description} */}