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:
parent
0bbc006b98
commit
3c7fbb8fd6
1 changed files with 1 additions and 2 deletions
|
@ -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 "-"))]
|
||||||
|
|
Loading…
Add table
Reference in a new issue