Skip to content

Commit cf06307

Browse files
committed
add unique key to render
1 parent a57cbfc commit cf06307

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/ui/pages/events/ViewEvents.page.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,13 @@ export const ViewEventsPage: React.FC = () => {
5353
const shouldShow = event.upcoming || (!event.upcoming && showPrevious);
5454

5555
return (
56-
<Transition mounted={shouldShow} transition="fade" duration={400} timingFunction="ease">
56+
<Transition
57+
mounted={shouldShow}
58+
transition="fade"
59+
duration={400}
60+
timingFunction="ease"
61+
key={`${event.id}-tr-transition`}
62+
>
5763
{(styles) => (
5864
<tr
5965
style={{ ...styles, display: shouldShow ? 'table-row' : 'none' }}

0 commit comments

Comments
 (0)