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;