mirror of
https://github.com/vector-im/element-web.git
synced 2025-11-03 09:41:35 +01:00
Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
commit
ee81d6aea1
@ -182,6 +182,7 @@ export default class Quote extends React.Component {
|
||||
}
|
||||
|
||||
// Deliberately render nothing if the URL isn't recognised
|
||||
return this.props.node;
|
||||
// in case we get an undefined/falsey node, replace it with null to make React happy
|
||||
return this.props.node || null;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user