From 7d5deab7f9851cdd16b57f18d617115a31d1033a Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Sun, 1 Dec 2024 13:22:12 +0100 Subject: fix: fix search show-form event handler --- src/frontend/tubo/search/events.cljs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/frontend') diff --git a/src/frontend/tubo/search/events.cljs b/src/frontend/tubo/search/events.cljs index a40948a..0f2114a 100644 --- a/src/frontend/tubo/search/events.cljs +++ b/src/frontend/tubo/search/events.cljs @@ -72,11 +72,7 @@ (rf/reg-event-db :search/show-form (fn [db [_ show?]] - (when-not (= (-> db - :navigation/current-match - :path) - "search") - (assoc db :search/show-form show?)))) + (assoc db :search/show-form show?))) (rf/reg-event-db :search/change-query -- cgit v1.2.3