Closed Darper closed 5 years ago
Add the following to Tabs.js ...
UNSAFE_componentWillReceiveProps(nextProps) { if (nextProps.selectedIndex !== this.props.selectedIndex) { this.setState({ "selectedIndex": nextProps.selectedIndex }); } }
Add the following to Tabs.js ...