From 675e730bf0e69f7ef68559d409e93d2a871a1358 Mon Sep 17 00:00:00 2001 From: qradle Date: Tue, 13 Aug 2024 00:58:41 +0300 Subject: [PATCH] feat!: migrate to new slider --- src/blocks/HeaderSlider/HeaderSlider.tsx | 2 +- src/components/Media/Image/Image.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/blocks/HeaderSlider/HeaderSlider.tsx b/src/blocks/HeaderSlider/HeaderSlider.tsx index af50ec41e..21f474453 100644 --- a/src/blocks/HeaderSlider/HeaderSlider.tsx +++ b/src/blocks/HeaderSlider/HeaderSlider.tsx @@ -4,7 +4,7 @@ import {MobileContext} from '../../context/mobileContext'; import {HeaderSliderBlockProps, SliderType} from '../../models'; import {block} from '../../utils'; import Header from '../Header/Header'; -import {SliderBlock} from '../index'; +import {SliderNewBlock as SliderBlock} from '../unstable'; import './HeaderSlider.scss'; diff --git a/src/components/Media/Image/Image.tsx b/src/components/Media/Image/Image.tsx index 1ecce074f..12753d8a5 100644 --- a/src/components/Media/Image/Image.tsx +++ b/src/components/Media/Image/Image.tsx @@ -3,7 +3,7 @@ import React, {Fragment, useEffect, useState} from 'react'; import {Interpolation, animated, config, useSpring} from '@react-spring/web'; import debounce from 'lodash/debounce'; -import SliderBlock from '../../../blocks/Slider/Slider'; +import {SliderNewBlock as SliderBlock} from '../../../blocks/unstable'; import {ImageProps, MediaComponentImageProps, QAProps, SliderType} from '../../../models'; import {block, getQaAttrubutes} from '../../../utils'; import BackgroundImage from '../../BackgroundImage/BackgroundImage';