mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 14:05:04 +08:00
add null check
This commit is contained in:
parent
27f65c17b5
commit
cb5882d59b
@ -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
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user