Merge pull request #4088 from matrix-org/bwindels/fixuserpage
Fix user page (missing null check)
This commit is contained in:
commit
86c871f55f
1 changed files with 1 additions and 0 deletions
|
@ -92,6 +92,7 @@ export default class RightPanel extends React.Component {
|
||||||
// not mounted in time to get the dispatch.
|
// not mounted in time to get the dispatch.
|
||||||
// Until then, let this code serve as a warning from history.
|
// Until then, let this code serve as a warning from history.
|
||||||
if (
|
if (
|
||||||
|
rps.roomPanelPhaseParams.member &&
|
||||||
userForPanel.userId === rps.roomPanelPhaseParams.member.userId &&
|
userForPanel.userId === rps.roomPanelPhaseParams.member.userId &&
|
||||||
rps.roomPanelPhaseParams.verificationRequest
|
rps.roomPanelPhaseParams.verificationRequest
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Reference in a new issue