0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-13 02:28:18 -05:00

🔥 Remove unused operation on coords component.

This commit is contained in:
Andrey Antukh 2021-01-24 17:24:01 +01:00 committed by Alonso Torres
parent 0bbc006b98
commit 3c7fbb8fd6

View file

@ -63,8 +63,7 @@
(mf/defc coordinates (mf/defc coordinates
[] []
(let [coords (some-> (hooks/use-rxsub ms/mouse-position) (let [coords (hooks/use-rxsub ms/mouse-position)]
(gpt/round))]
[:ul.coordinates [:ul.coordinates
[:span {:alt "x"} [:span {:alt "x"}
(str "X: " (:x coords "-"))] (str "X: " (:x coords "-"))]