mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 00:40:30 -05:00
🐛 Fix react warning on incorrect style on workspace presence component
This commit is contained in:
parent
a73964ed8d
commit
2a1d8fd09d
1 changed files with 2 additions and 2 deletions
|
@ -21,8 +21,8 @@
|
||||||
[{:keys [session profile index] :as props}]
|
[{:keys [session profile index] :as props}]
|
||||||
(let [profile (assoc profile :color (:color session))]
|
(let [profile (assoc profile :color (:color session))]
|
||||||
[:li {:class (stl/css :session-icon)
|
[:li {:class (stl/css :session-icon)
|
||||||
:style #js {"zIndex" (str (or (+ 1 (* -1 index)) 0)),
|
:style {:z-index (str (or (+ 1 (* -1 index)) 0))
|
||||||
"background-color" (:color session)}
|
:background-color (:color session)}
|
||||||
:title (:fullname profile)}
|
:title (:fullname profile)}
|
||||||
[:img {:alt (:fullname profile)
|
[:img {:alt (:fullname profile)
|
||||||
:style {:background-color (:color session)}
|
:style {:background-color (:color session)}
|
||||||
|
|
Loading…
Reference in a new issue