From b24c039f663c3e696639fa3dc5bdf74185be4083 Mon Sep 17 00:00:00 2001 From: NikolaiKryshnev <63440682+NikolaiKryshnev@users.noreply.github.com> Date: Wed, 11 Dec 2024 19:47:05 +0300 Subject: [PATCH] refactor: move iconStyle to styles object at the bottom of SearchBar.tsx --- src/components/search/SearchBar.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/search/SearchBar.tsx b/src/components/search/SearchBar.tsx index eafa9aa..bdf520f 100644 --- a/src/components/search/SearchBar.tsx +++ b/src/components/search/SearchBar.tsx @@ -18,10 +18,7 @@ export function SearchBar({ value, placeholder, onChangeValue, isFetching }: Pro const value = event?.target?.value || ''; onChangeValue(value); }; - - const iconStyle = - 'flex h-10 w-10 items-center justify-center rounded-full bg-pink-600 sm:h-12 sm:w-12'; - + return (