diff --git a/frontend/app/daily/[page]/autocomplete.tsx b/frontend/app/daily/[page]/autocomplete.tsx index 1b4df03..b6ec86d 100644 --- a/frontend/app/daily/[page]/autocomplete.tsx +++ b/frontend/app/daily/[page]/autocomplete.tsx @@ -37,7 +37,7 @@ export default function AutoCompleteGameName({onChangeGuessName}: {onChangeGuess }; }); - onChangeGuessName(key?.toString()); + onChangeGuessName(key ? key.toString() : ""); }; // Specify how each of the Autocomplete values should change when the input