diff --git a/src/components/Article/AudioPlayer/PlayerPlaylist.tsx b/src/components/Article/AudioPlayer/PlayerPlaylist.tsx index ff0661c9..81e69d58 100644 --- a/src/components/Article/AudioPlayer/PlayerPlaylist.tsx +++ b/src/components/Article/AudioPlayer/PlayerPlaylist.tsx @@ -39,6 +39,7 @@ export const PlayerPlaylist = (props: Props) => { } const play = (index: number) => { + props.onPlayMedia(index) const mi = props.media[index] gtag('event', 'select_item', { item_list_id: props.articleSlug, diff --git a/src/components/Views/Expo/Expo.tsx b/src/components/Views/Expo/Expo.tsx index e4541922..eddd12a4 100644 --- a/src/components/Views/Expo/Expo.tsx +++ b/src/components/Views/Expo/Expo.tsx @@ -24,8 +24,8 @@ type Props = { layout: LayoutType } -export const PRERENDERED_ARTICLES_COUNT = 36 -const LOAD_MORE_PAGE_SIZE = 12 +export const PRERENDERED_ARTICLES_COUNT = 37 +const LOAD_MORE_PAGE_SIZE = 11 export const Expo = (props: Props) => { const [isLoaded, setIsLoaded] = createSignal(Boolean(props.shouts))