From f3f26488b169f9a798ba9e8195bf7cf236862df4 Mon Sep 17 00:00:00 2001 From: Alex <25013571+alexhb1@users.noreply.github.com> Date: Sun, 15 Mar 2026 10:27:03 +0000 Subject: [PATCH] Fix TS error (#770) --- src/frontend/src/components/SearchBar.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/src/components/SearchBar.tsx b/src/frontend/src/components/SearchBar.tsx index 046b2640..1181aa3c 100644 --- a/src/frontend/src/components/SearchBar.tsx +++ b/src/frontend/src/components/SearchBar.tsx @@ -662,11 +662,11 @@ export const SearchBar = forwardRef(({ }} className={`flex items-center gap-1.5 px-4 py-2.5 -mt-1.5 -mb-0.5 -mr-1 text-xs font-medium rounded-xl transition-colors ${ isAdvancedActive - ? `${searchMode === 'direct' ? 'bg-sky-700' : 'bg-emerald-600'} text-white` + ? 'bg-emerald-600 text-white' : 'hover-surface' }`} style={isAdvancedActive - ? { borderColor: searchMode === 'direct' ? 'rgb(3 105 161 / 0.7)' : 'rgb(16 185 129 / 0.7)' } + ? { borderColor: 'rgb(16 185 129 / 0.7)' } : { color: 'var(--text-muted)' }} >