Skip to content

Commit 6cd5980

Browse files
author
Juli Ovechkina
authored
fix: image slider and background (#711)
1 parent 917aac2 commit 6cd5980

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/Media/Image/Image.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ const Image = (props: ImageAllProps) => {
128128
const fullscreenItem = fullscreen === undefined || fullscreen;
129129

130130
return (
131-
<SliderBlock slidesToShow={1} type={SliderType.MediaCard}>
131+
<SliderBlock slidesToShow={1} type={SliderType.MediaCard} animated={parallax}>
132132
{imageArray.map((item, index) => (
133133
<Fragment key={index}>
134134
{fullscreenItem ? renderFullscreenImage(item) : imageOnly(item)}

src/containers/PageConstructor/PageConstructor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export interface PageConstructorProps {
5353

5454
export const Constructor = (props: PageConstructorProps) => {
5555
const {
56-
content: {blocks = [], background = {}} = {},
56+
content: {blocks = [], background} = {},
5757
renderMenu,
5858
shouldRenderBlock,
5959
navigation,

0 commit comments

Comments
 (0)