diff --git a/client/src/components/SearchBar/SearchBar.tsx b/client/src/components/SearchBar/SearchBar.tsx index f0b78a58794a3ad17e4b28ae2bcf723ed7c04b61..11d6b8b4a8fc543c715b8a830755afdf9447ca40 100644 --- a/client/src/components/SearchBar/SearchBar.tsx +++ b/client/src/components/SearchBar/SearchBar.tsx @@ -78,7 +78,7 @@ export const SearchBar = (props: Props): JSX.Element => { setLocalSearch(encodedURL); } - if (e.code === 'Enter' || e.code === 'NumpadEnter') { + if (e.code === 'Enter' || e.code === 'NumpadEnter' || e.keyCode === 13) { if (!primarySearch.prefix) { // Prefix not found -> emit notification createNotification({