Merge remote-tracking branch 'origin/develop' into develop

pull/21833/head
Weblate 2018-01-31 18:10:59 +00:00
commit ee81d6aea1
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}
}