diff --git a/packages/gallery/src/Component.tsx b/packages/gallery/src/Component.tsx index 3a83933dff..1c8f23177e 100644 --- a/packages/gallery/src/Component.tsx +++ b/packages/gallery/src/Component.tsx @@ -5,6 +5,7 @@ import SwiperCore from 'swiper'; import { BaseModal } from '@alfalab/core-components-base-modal'; import { useMedia } from '@alfalab/hooks'; +import { SingleImageViewer } from './components/image-viewer/single-image-viewer'; import { Header, HeaderMobile, ImageViewer, InfoBar, NavigationBar } from './components'; import { GalleryContext } from './context'; import { GalleryImage, ImageMeta } from './types'; @@ -242,7 +243,7 @@ export const Gallery: FC = ({ >
{view === 'desktop' ?
: } - + {images.length === 1 ? : }