From e0c8dcbe5cffca5e94334367aabbc14c79a3515b Mon Sep 17 00:00:00 2001 From: Ilya Y <75578537+ilya-bkv@users.noreply.github.com> Date: Mon, 17 Jul 2023 20:14:34 +0300 Subject: [PATCH] Solid Swiper in FullArticle.tsx (#127) --- src/components/Article/FullArticle.tsx | 103 +++++++++++++------------ 1 file changed, 52 insertions(+), 51 deletions(-) diff --git a/src/components/Article/FullArticle.tsx b/src/components/Article/FullArticle.tsx index 5f24ea34..d898bebb 100644 --- a/src/components/Article/FullArticle.tsx +++ b/src/components/Article/FullArticle.tsx @@ -24,6 +24,7 @@ import article from '../Editor/extensions/Article' import { createEffect, For, createMemo, onMount, Show, createSignal, Switch, Match } from 'solid-js' import { MediaItem } from '../../pages/types' import { AudioHeader } from './AudioHeader' +import { SolidSwiper } from '../_shared/SolidSwiper' interface ArticleProps { article: Shout @@ -105,6 +106,7 @@ export const FullArticle = (props: ArticleProps) => { actions: { loadReactionsBy } } = useReactions() + console.log('!!! props.s:', JSON.parse(props.article.media)) return ( <>