diff options
Diffstat (limited to 'src/frontend/tau/events.cljs')
-rw-r--r-- | src/frontend/tau/events.cljs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/frontend/tau/events.cljs b/src/frontend/tau/events.cljs index 24da7d0..0e43688 100644 --- a/src/frontend/tau/events.cljs +++ b/src/frontend/tau/events.cljs @@ -43,6 +43,11 @@ (fn [db _] (assoc db :page-scroll 0))) +(rf/reg-event-db + ::toggle-mobile-nav + (fn [db _] + (assoc db :show-mobile-nav (not (:show-mobile-nav db))))) + (rf/reg-event-fx ::navigated (fn [{:keys [db]} [_ new-match]] |