From 1e6c4e19328819ac41f1939f1f067837b7c999b7 Mon Sep 17 00:00:00 2001 From: Omar Basem Date: Tue, 21 Mar 2023 13:56:48 +0400 Subject: [PATCH] lint --- src/status_im2/contexts/chat/events.cljs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/status_im2/contexts/chat/events.cljs b/src/status_im2/contexts/chat/events.cljs index 4e51be8799e..109185fb7a4 100644 --- a/src/status_im2/contexts/chat/events.cljs +++ b/src/status_im2/contexts/chat/events.cljs @@ -342,9 +342,8 @@ (rf/defn navigate-to-lightbox {:events [:chat.ui/navigate-to-lightbox]} [{:keys [db]} shared-element-id screen-params] - (let [updated-db (assoc db :shared-element-id shared-element-id)] - (reagent/next-tick #(rf/dispatch [:navigate-to :lightbox screen-params])) - {:db updated-db})) + (reagent/next-tick #(rf/dispatch [:navigate-to :lightbox screen-params])) + {:db (assoc db :shared-element-id shared-element-id)}) (rf/defn exit-lightbox-signal {:events [:chat.ui/exit-lightbox-signal]}