mirror of
https://github.com/BreizhHardware/Jellystat.git
synced 2026-01-18 16:27:20 +01:00
duplicate key fix
episode and index are both numbers so they get summed before concatonated with the id.
This commit is contained in:
@@ -66,7 +66,7 @@ function LastPlayed(props) {
|
||||
</h1>
|
||||
<div className="last-played-container">
|
||||
{data.map((item, index) => (
|
||||
<ErrorBoundary key={item.Id + item.EpisodeNumber + index}>
|
||||
<ErrorBoundary key={`${item.Id}${item.EpisodeNumber}${index}`}>
|
||||
<LastWatchedCard data={item} base_url={config.settings?.EXTERNAL_URL ?? config.hostUrl} />
|
||||
</ErrorBoundary>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user