diff --git a/src/components/InfoPanel.tsx b/src/components/InfoPanel.tsx index f38ef0a..ca6951b 100644 --- a/src/components/InfoPanel.tsx +++ b/src/components/InfoPanel.tsx @@ -11,7 +11,7 @@ function getInfoPanelTextByGameState(params: { userKey: string; userKeyWhoLeave: string; searchingOpponent: boolean; -}): string { +}): string | undefined { const { context, game,