From a0643c73889f4a8867c37e22db1ef81931fadf41 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 19 Mar 2020 17:37:48 +0100 Subject: [PATCH] :lipstick: Minor cosmetic changes on props checking function. --- frontend/src/uxbox/main/ui/shapes/frame.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/uxbox/main/ui/shapes/frame.cljs b/frontend/src/uxbox/main/ui/shapes/frame.cljs index eeb820c94..730ce6d69 100644 --- a/frontend/src/uxbox/main/ui/shapes/frame.cljs +++ b/frontend/src/uxbox/main/ui/shapes/frame.cljs @@ -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