mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
added key in .map fn
This commit is contained in:
@@ -109,7 +109,7 @@ export default function DialogTorrentInfo({ torrent, open }) {
|
|||||||
|
|
||||||
{getPlayableFile(torrentLocalComponentValue) &&
|
{getPlayableFile(torrentLocalComponentValue) &&
|
||||||
getPlayableFile(torrentLocalComponentValue).map(file => (
|
getPlayableFile(torrentLocalComponentValue).map(file => (
|
||||||
<ButtonGroup style={style.width100} disableElevation variant='contained' color='primary'>
|
<ButtonGroup key={file.id} style={style.width100} disableElevation variant='contained' color='primary'>
|
||||||
<Button
|
<Button
|
||||||
style={style.width100}
|
style={style.width100}
|
||||||
href={`${streamHost()}/${encodeURIComponent(file.path.split('\\').pop().split('/').pop())}?link=${
|
href={`${streamHost()}/${encodeURIComponent(file.path.split('\\').pop().split('/').pop())}?link=${
|
||||||
|
|||||||
Reference in New Issue
Block a user