From a42f1278d958bbc1c096b05be19fa40c90ee3cab Mon Sep 17 00:00:00 2001 From: Arpit Date: Fri, 15 Oct 2021 10:22:40 +0530 Subject: [PATCH] Fixes widgets not being dropped in the canvas (#1075) --- frontend/src/Editor/Container.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Editor/Container.jsx b/frontend/src/Editor/Container.jsx index f915471237..fb2aff4563 100644 --- a/frontend/src/Editor/Container.jsx +++ b/frontend/src/Editor/Container.jsx @@ -254,7 +254,7 @@ export const Container = ({ return (
- {Object.keys(boxes).forEach((key) => { + {Object.keys(boxes).map((key) => { const box = boxes[key]; const canShowInCurrentLayout = box.component.definition.others[currentLayout === 'mobile' ? 'showOnMobile' : 'showOnDesktop'].value;