From cb5882d59bb0d3f7efb2d8aff75cc2489d470466 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 19 Feb 2020 10:40:00 +0100 Subject: [PATCH] add null check --- src/components/structures/RightPanel.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/structures/RightPanel.js b/src/components/structures/RightPanel.js index eddd26c857..20df323c10 100644 --- a/src/components/structures/RightPanel.js +++ b/src/components/structures/RightPanel.js @@ -92,6 +92,7 @@ export default class RightPanel extends React.Component { // not mounted in time to get the dispatch. // Until then, let this code serve as a warning from history. if ( + rps.roomPanelPhaseParams.member && userForPanel.userId === rps.roomPanelPhaseParams.member.userId && rps.roomPanelPhaseParams.verificationRequest ) {