mirror of
https://github.com/penpot/penpot.git
synced 2025-05-30 18:56:10 +02:00
💄 Minor cosmetic changes on props checking function.
This commit is contained in:
parent
74a6bc8e06
commit
a0643c7388
1 changed files with 2 additions and 2 deletions
|
@ -38,8 +38,8 @@
|
||||||
(js/React.memo
|
(js/React.memo
|
||||||
component
|
component
|
||||||
(fn [np op]
|
(fn [np op]
|
||||||
(let [n-shape (aget np "shape")
|
(let [n-shape (unchecked-get np "shape")
|
||||||
o-shape (aget op "shape")]
|
o-shape (unchecked-get op "shape")]
|
||||||
(= n-shape o-shape))))))
|
(= n-shape o-shape))))))
|
||||||
|
|
||||||
(mf/defc shape-wrapper
|
(mf/defc shape-wrapper
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue