Skip to content

Commit 714d4e2

Browse files
committed
WizardStep - handle no state (#675)
1 parent f7c3116 commit 714d4e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/wizard/WizardStep.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export default class WizardStep extends PureBaseComponent {
8080
getAccessibilityLabel() {
8181
const {index, label, state} = this.props;
8282
const config = StatesConfig[state];
83-
const extraInfo = config.accessibilityInfo || '';
83+
const extraInfo = config && config.accessibilityInfo || '';
8484
return `Step ${index + 1}, ${label}, ${extraInfo}`;
8585
}
8686

0 commit comments

Comments
 (0)