Change teks to parole
This commit is contained in:
@@ -11,18 +11,18 @@ const DinamikLekte = dynamic(
|
||||
{ssr: false, loading: () => <CircularProgress sx={{color: '#29d'}} />}
|
||||
)
|
||||
|
||||
export default function OkiMizik({id, teks}) {
|
||||
export default function OkiMizik({id, parole}) {
|
||||
const mizikStreamUrl = `${MIZIK_URL}/rest/stream?u=${MIZIK_API_USER}&p=${MIZIK_API_PASSWORD}&id=${id}`
|
||||
const detailsUrl = `${MIZIK_URL}/library/tracks/${id}`
|
||||
|
||||
return (
|
||||
<Box style={{marginTop: '0.3em', display: 'flex', flexDirection: 'column', alignItems: 'center'}}>
|
||||
<DinamikLekte audio={mizikStreamUrl} url={detailsUrl} teks={teks} />
|
||||
<DinamikLekte audio={mizikStreamUrl} url={detailsUrl} parole={parole} />
|
||||
</Box>
|
||||
)
|
||||
}
|
||||
|
||||
OkiMizik.propTypes = {
|
||||
id: PropTypes.number.isRequired,
|
||||
teks: PropTypes.object.isRequired
|
||||
parole: PropTypes.object.isRequired
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user