From 6cd5980c7de5cf0b810e0988eb9968ff2e9c0578 Mon Sep 17 00:00:00 2001 From: Juli Ovechkina Date: Mon, 27 Nov 2023 11:37:11 +0000 Subject: [PATCH] fix: image slider and background (#711) --- src/components/Media/Image/Image.tsx | 2 +- src/containers/PageConstructor/PageConstructor.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Media/Image/Image.tsx b/src/components/Media/Image/Image.tsx index 1c1cd2ac5..a7b72fb39 100644 --- a/src/components/Media/Image/Image.tsx +++ b/src/components/Media/Image/Image.tsx @@ -128,7 +128,7 @@ const Image = (props: ImageAllProps) => { const fullscreenItem = fullscreen === undefined || fullscreen; return ( - + {imageArray.map((item, index) => ( {fullscreenItem ? renderFullscreenImage(item) : imageOnly(item)} diff --git a/src/containers/PageConstructor/PageConstructor.tsx b/src/containers/PageConstructor/PageConstructor.tsx index 3c891ee69..316c69cb6 100644 --- a/src/containers/PageConstructor/PageConstructor.tsx +++ b/src/containers/PageConstructor/PageConstructor.tsx @@ -53,7 +53,7 @@ export interface PageConstructorProps { export const Constructor = (props: PageConstructorProps) => { const { - content: {blocks = [], background = {}} = {}, + content: {blocks = [], background} = {}, renderMenu, shouldRenderBlock, navigation,