mirror of
https://github.com/penpot/penpot.git
synced 2025-05-29 23:16:11 +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
|
||||
component
|
||||
(fn [np op]
|
||||
(let [n-shape (aget np "shape")
|
||||
o-shape (aget op "shape")]
|
||||
(let [n-shape (unchecked-get np "shape")
|
||||
o-shape (unchecked-get op "shape")]
|
||||
(= n-shape o-shape))))))
|
||||
|
||||
(mf/defc shape-wrapper
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue