diff --git a/webapp/channels/src/components/rhs_card/__snapshots__/rhs_card.test.tsx.snap b/webapp/channels/src/components/rhs_card/__snapshots__/rhs_card.test.tsx.snap index 1cb350cf18..4b5df65c6b 100644 --- a/webapp/channels/src/components/rhs_card/__snapshots__/rhs_card.test.tsx.snap +++ b/webapp/channels/src/components/rhs_card/__snapshots__/rhs_card.test.tsx.snap @@ -31,7 +31,9 @@ exports[`comoponents/rhs_card/RhsCard should match on post when no plugin defini
- +
- +
- +
{ } shouldComponentUpdate(nextProps: Props, nextState: State) { + if (!deepEqual(nextProps.selected?.props?.card, this.props.selected?.props?.card)) { + return true; + } if (nextState.isScrolling !== this.state.isScrolling) { return true; } @@ -124,7 +128,7 @@ export default class RhsCard extends React.Component { if (!content) { content = (
- +
); }