Audio player fix (play by track click)
This commit is contained in:
parent
5a7e416700
commit
97b1ec4386
|
@ -39,6 +39,7 @@ export const PlayerPlaylist = (props: Props) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const play = (index: number) => {
|
const play = (index: number) => {
|
||||||
|
props.onPlayMedia(index)
|
||||||
const mi = props.media[index]
|
const mi = props.media[index]
|
||||||
gtag('event', 'select_item', {
|
gtag('event', 'select_item', {
|
||||||
item_list_id: props.articleSlug,
|
item_list_id: props.articleSlug,
|
||||||
|
|
|
@ -24,8 +24,8 @@ type Props = {
|
||||||
layout: LayoutType
|
layout: LayoutType
|
||||||
}
|
}
|
||||||
|
|
||||||
export const PRERENDERED_ARTICLES_COUNT = 36
|
export const PRERENDERED_ARTICLES_COUNT = 37
|
||||||
const LOAD_MORE_PAGE_SIZE = 12
|
const LOAD_MORE_PAGE_SIZE = 11
|
||||||
|
|
||||||
export const Expo = (props: Props) => {
|
export const Expo = (props: Props) => {
|
||||||
const [isLoaded, setIsLoaded] = createSignal<boolean>(Boolean(props.shouts))
|
const [isLoaded, setIsLoaded] = createSignal<boolean>(Boolean(props.shouts))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user