SmartTimeline: Use key prop to ensure no re-use of existing component
This commit is contained in:
parent
efc54e44c4
commit
0f8009fe2f
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue