diff --git a/src/components/search/SearchFields.tsx b/src/components/search/SearchFields.tsx index 8de9f1680e..d2be6c26b3 100644 --- a/src/components/search/SearchFields.tsx +++ b/src/components/search/SearchFields.tsx @@ -27,8 +27,7 @@ const SearchFields: FC = ({ const inputValue = inputRef.current?.value || ''; if (value === 'backspace') { - onSearch(inputValue.length ? inputValue.substring(0, inputValue.length - 1) : '' - ); + onSearch(inputValue.length ? inputValue.substring(0, inputValue.length - 1) : ''); } else { onSearch(inputValue + value); }