From 2a1d8fd09d874bc6a228598f54845282a7335e6c Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 21 Nov 2023 17:28:47 +0100 Subject: [PATCH] :bug: Fix react warning on incorrect style on workspace presence component --- frontend/src/app/main/ui/workspace/presence.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/main/ui/workspace/presence.cljs b/frontend/src/app/main/ui/workspace/presence.cljs index 62d128ba2..393e4fa82 100644 --- a/frontend/src/app/main/ui/workspace/presence.cljs +++ b/frontend/src/app/main/ui/workspace/presence.cljs @@ -21,8 +21,8 @@ [{:keys [session profile index] :as props}] (let [profile (assoc profile :color (:color session))] [:li {:class (stl/css :session-icon) - :style #js {"zIndex" (str (or (+ 1 (* -1 index)) 0)), - "background-color" (:color session)} + :style {:z-index (str (or (+ 1 (* -1 index)) 0)) + :background-color (:color session)} :title (:fullname profile)} [:img {:alt (:fullname profile) :style {:background-color (:color session)}