diff --git a/components/streaming-buttons.js b/components/streaming-buttons.js index 59d1484..7f5e4b6 100644 --- a/components/streaming-buttons.js +++ b/components/streaming-buttons.js @@ -15,7 +15,7 @@ export const PLATFORM_CONFIG = { 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 PlatformIcon = config.Icon return ( diff --git a/components/teks/teks.js b/components/teks/teks.js index b095e71..54dd5db 100644 --- a/components/teks/teks.js +++ b/components/teks/teks.js @@ -20,7 +20,7 @@ import {formatKuveti} from '../../lib/kuveti' import LicenseModal from '../cc/license-modal' import FilesDialog from '../files/files-dialog' -import {StreamButtonComponent} from '../streaming-buttons' +import {StreamButton} from '../streaming-buttons' import EntegreMizik from './entegre-mizik' import OkiMizik from './oki-mizik' import DiferansDialog from './diferans-dialog' @@ -225,7 +225,7 @@ export default function Teks({parole}) { {parole.streamAudio.map((lyen, i) => ( - + ))}