diff --git a/front/views/SongLobbyView.tsx b/front/views/SongLobbyView.tsx index 0254eec..7f453e7 100644 --- a/front/views/SongLobbyView.tsx +++ b/front/views/SongLobbyView.tsx @@ -39,7 +39,7 @@ const SongLobbyView = (props: RouteProps) => { {songQuery.data!.name} `${level} - ${ chaptersQuery.data!.reduce((a, b) => a + b.difficulty, 0) / chaptersQuery.data!.length }`} + format={(level) => `${level}: ${ chaptersQuery.data!.reduce((a, b) => a + b.difficulty, 0) / chaptersQuery.data!.length }`} /> ) => { - {scoresQuery.data!.best ?? 0} + {scoresQuery.data?.best ?? 0} - {scoresQuery.data!.history[0]?.score ?? 0} + {scoresQuery.data?.history.at(0)?.score ?? 0} {/* {songQuery.data!.description} */}