Change teks to parole
This commit is contained in:
@@ -49,22 +49,22 @@ const vweyIcons = {
|
||||
Dailymotion: <Dailymotion />,
|
||||
Lbry: <Lbry />,
|
||||
Rumble: <PlayCircleFilledIcon />,
|
||||
Peertube: <Peertube />
|
||||
Gadé: <Peertube />
|
||||
}
|
||||
|
||||
export default function VweKouteAchte({anTeks, niVideyo, niOdyo}) {
|
||||
export default function VweKouteAchte({parole, niVideyo, niOdyo}) {
|
||||
const [ouve, meteOuve] = useState(false)
|
||||
const {kouteyAchtey, lyen} = anTeks
|
||||
const {streamAudio, streamVideo} = parole
|
||||
|
||||
const kouteyAchteyActions = kouteyAchtey.map(({boutik, url}) => ({
|
||||
icon: kouteyAchteyIcons[boutik],
|
||||
name: boutik,
|
||||
const kouteyAchteyActions = streamAudio.map(({plateforme, url}) => ({
|
||||
icon: kouteyAchteyIcons[plateforme],
|
||||
name: plateforme,
|
||||
link: url
|
||||
}))
|
||||
|
||||
const vweyActions = lyen.map(({url, sit}) => ({
|
||||
icon: vweyIcons[sit],
|
||||
name: sit,
|
||||
const vweyActions = streamVideo.map(({plateforme, url}) => ({
|
||||
icon: vweyIcons[plateforme],
|
||||
name: plateforme,
|
||||
link: url
|
||||
}))
|
||||
|
||||
@@ -115,7 +115,7 @@ export default function VweKouteAchte({anTeks, niVideyo, niOdyo}) {
|
||||
}
|
||||
|
||||
VweKouteAchte.propTypes = {
|
||||
anTeks: PropTypes.object.isRequired,
|
||||
parole: PropTypes.object.isRequired,
|
||||
niVideyo: PropTypes.bool,
|
||||
niOdyo: PropTypes.bool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user