Skip to content

Commit

Permalink
fix key
Browse files Browse the repository at this point in the history
  • Loading branch information
alissacrane-cb committed Nov 5, 2024
1 parent 1b96402 commit d752296
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/Stream.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ export default function Stream({
{translations[currentLanguage].stream.realTime}
</p>
<div className="mt-4 space-y-2" role="log" aria-live="polite">
{streamEntries.map((entry) => (
{streamEntries.map((entry, index) => (
<StreamEntryItem
key={entry.timestamp.toDateString()}
key={`${entry.timestamp.toDateString()}-${index}`}
entry={entry}
currentLanguage={currentLanguage}
/>
Expand Down

0 comments on commit d752296

Please sign in to comment.