fix: typo StreamButton
Déploiement FRONT PROD / check (push) Successful in 2m8s
Déploiement FRONT PROD / deploy (push) Successful in 21s

This commit is contained in:
2026-06-22 18:52:14 +04:00
parent 9949efd0c1
commit 35e1a3a010
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ export const PLATFORM_CONFIG = {
Soundcloud: {label: 'SoundCloud', bg: '#FF5500', color: '#fff', Icon: Soundcloud}, Soundcloud: {label: 'SoundCloud', bg: '#FF5500', color: '#fff', Icon: Soundcloud},
} }
export function StreamButtonComponent({lyen}) { export function StreamButton({lyen}) {
const config = PLATFORM_CONFIG[lyen.plateforme] ?? {label: lyen.plateforme, bg: '#555', color: '#fff', Icon: null} const config = PLATFORM_CONFIG[lyen.plateforme] ?? {label: lyen.plateforme, bg: '#555', color: '#fff', Icon: null}
const PlatformIcon = config.Icon const PlatformIcon = config.Icon
return ( return (
+2 -2
View File
@@ -20,7 +20,7 @@ import {formatKuveti} from '../../lib/kuveti'
import LicenseModal from '../cc/license-modal' import LicenseModal from '../cc/license-modal'
import FilesDialog from '../files/files-dialog' import FilesDialog from '../files/files-dialog'
import {StreamButtonComponent} from '../streaming-buttons' import {StreamButton} from '../streaming-buttons'
import EntegreMizik from './entegre-mizik' import EntegreMizik from './entegre-mizik'
import OkiMizik from './oki-mizik' import OkiMizik from './oki-mizik'
import DiferansDialog from './diferans-dialog' import DiferansDialog from './diferans-dialog'
@@ -225,7 +225,7 @@ export default function Teks({parole}) {
</Typography> </Typography>
<Box sx={{display: 'flex', flexWrap: 'wrap', justifyContent: 'center', gap: 1}}> <Box sx={{display: 'flex', flexWrap: 'wrap', justifyContent: 'center', gap: 1}}>
{parole.streamAudio.map((lyen, i) => ( {parole.streamAudio.map((lyen, i) => (
<StreamButtonComponent key={i} lyen={lyen} /> <StreamButton key={i} lyen={lyen} />
))} ))}
</Box> </Box>
</Box> </Box>