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.
1 parent f7c3116 commit 714d4e2Copy full SHA for 714d4e2
src/components/wizard/WizardStep.js
@@ -80,7 +80,7 @@ export default class WizardStep extends PureBaseComponent {
80
getAccessibilityLabel() {
81
const {index, label, state} = this.props;
82
const config = StatesConfig[state];
83
- const extraInfo = config.accessibilityInfo || '';
+ const extraInfo = config && config.accessibilityInfo || '';
84
return `Step ${index + 1}, ${label}, ${extraInfo}`;
85
}
86
0 commit comments