Skip to content

Commit

Permalink
Merge pull request #56 from 2jun0/GDET-68
Browse files Browse the repository at this point in the history
�GDET-68: 입력 버벅임 문제 해결2
  • Loading branch information
2jun0 authored Feb 21, 2024
2 parents 9c5d9b9 + a2792b7 commit 5841e20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/app/daily/[page]/autocomplete.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default function AutoCompleteGameName({onChangeGuessName}: {onChangeGuess
const _autoCompleteNames = await autoCompleteGameName(value) as Array<CompleteName>
setAutoCompleteNames(_autoCompleteNames)
setFieldState((prevState) => ({
inputValue: value,
inputValue: prevState.inputValue,
selectedKey: value === "" ? null : prevState.selectedKey,
items: _autoCompleteNames,
}));
Expand Down

0 comments on commit 5841e20

Please sign in to comment.