💄 Minor cosmetic changes on props checking function.

This commit is contained in:
Andrey Antukh 2020-03-19 17:37:48 +01:00 committed by Alonso Torres
parent 74a6bc8e06
commit a0643c7388

View file

@ -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