From 6121a2ca4ab1b0d361e8a8425700b2522e626781 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20FAMIBELLE-PRONZOLA?= Date: Mon, 22 Jun 2026 13:12:14 +0400 Subject: [PATCH] fix: rename StreamButton to StreamButtonComponent --- components/awtis/awtis-detay.js | 4 ++-- components/streaming-buttons.js | 2 +- components/teks/teks.js | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/components/awtis/awtis-detay.js b/components/awtis/awtis-detay.js index 113f5d7..887f973 100644 --- a/components/awtis/awtis-detay.js +++ b/components/awtis/awtis-detay.js @@ -24,7 +24,7 @@ import KeyboardBackspaceIcon from '@mui/icons-material/KeyboardBackspace' import VerifiedIcon from '@mui/icons-material/Verified' import {formatKuveti} from '../../lib/kuveti' -import {StreamButton} from '../streaming-buttons' +import {PLATFORM_CONFIG, StreamButtonComponent} from '../streaming-buttons' import AwtisBiyografi from './awtis-biyografi' import MizikLyen from './mizik-lyen' @@ -141,7 +141,7 @@ export default function AwtisDetay({anAwtis}) { {titrePhare.streamAudio.map((lyen, i) => ( - + ))} diff --git a/components/streaming-buttons.js b/components/streaming-buttons.js index 7f5e4b6..59d1484 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 StreamButton({lyen}) { +export function StreamButtonComponent({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 54dd5db..b095e71 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 {StreamButton} from '../streaming-buttons' +import {StreamButtonComponent} 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) => ( - + ))}