Skip to content

Commit 4979391

Browse files
committed
fix displaying the search engine logo
1 parent d131993 commit 4979391

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/Elements/SearchBarWithLogo/SearchBarWithLogo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import './SearchBarWithLogo.css'
66
export const SearchBarWithLogo = () => {
77
const { searchEngine } = useUserPreferences()
88
const userSearchEngine = SUPPORTED_SEARCH_ENGINES.find(
9-
(srchEngn) => srchEngn.label === searchEngine
9+
(srchEngn) => srchEngn.label.toLocaleLowerCase() === searchEngine.toLocaleLowerCase()
1010
)
1111

1212
return (

0 commit comments

Comments
 (0)