Skip to content

Commit

Permalink
fix: image slider and background (#711)
Browse files Browse the repository at this point in the history
  • Loading branch information
Juli Ovechkina authored Nov 27, 2023
1 parent 917aac2 commit 6cd5980
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Media/Image/Image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ const Image = (props: ImageAllProps) => {
const fullscreenItem = fullscreen === undefined || fullscreen;

return (
<SliderBlock slidesToShow={1} type={SliderType.MediaCard}>
<SliderBlock slidesToShow={1} type={SliderType.MediaCard} animated={parallax}>
{imageArray.map((item, index) => (
<Fragment key={index}>
{fullscreenItem ? renderFullscreenImage(item) : imageOnly(item)}
Expand Down
2 changes: 1 addition & 1 deletion src/containers/PageConstructor/PageConstructor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export interface PageConstructorProps {

export const Constructor = (props: PageConstructorProps) => {
const {
content: {blocks = [], background = {}} = {},
content: {blocks = [], background} = {},
renderMenu,
shouldRenderBlock,
navigation,
Expand Down

0 comments on commit 6cd5980

Please sign in to comment.