0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-08 16:18:11 -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
[]
(let [coords (some-> (hooks/use-rxsub ms/mouse-position)
(gpt/round))]
(let [coords (hooks/use-rxsub ms/mouse-position)]
[:ul.coordinates
[:span {:alt "x"}
(str "X: " (:x coords "-"))]