We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3d15a02 + 6adc54b commit 2b352f8Copy full SHA for 2b352f8
fluent-react/src/localized.js
@@ -79,7 +79,7 @@ export default class Localized extends Component {
79
80
render() {
81
const { l10n, parseMarkup } = this.context;
82
- const { id, attrs, children: elem } = this.props;
+ const { id, attrs, children: elem = null } = this.props;
83
84
// Validate that the child element isn't an array
85
if (Array.isArray(elem)) {
0 commit comments