Skip to content

Commit

Permalink
SmartTimeline: Use key prop to ensure no re-use of existing component
Browse files Browse the repository at this point in the history
  • Loading branch information
scottnonnenberg-signal committed Jan 18, 2023
1 parent efc54e4 commit 0f8009f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ts/state/smart/ConversationView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ export function SmartConversationView(): JSX.Element {
renderConversationHeader={() => (
<SmartConversationHeader id={conversationId} />
)}
renderTimeline={() => <SmartTimeline id={conversationId} />}
renderTimeline={() => (
<SmartTimeline key={conversationId} id={conversationId} />
)}
renderPanel={() => {
if (!topPanel) {
return;
Expand Down

0 comments on commit 0f8009f

Please sign in to comment.