Audio player fix (play by track click)

This commit is contained in:
ilya-bkv 2024-03-20 14:59:07 +03:00
parent 5a7e416700
commit 97b1ec4386
2 changed files with 3 additions and 2 deletions

View File

@ -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,

View File

@ -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>(Boolean(props.shouts))