(nextProps, prevState)
| 13 | |
| 14 | class TabContent extends Component { |
| 15 | static getDerivedStateFromProps(nextProps, prevState) { |
| 16 | if (prevState.activeTab !== nextProps.activeTab) { |
| 17 | return { |
| 18 | activeTab: nextProps.activeTab, |
| 19 | }; |
| 20 | } |
| 21 | return null; |
| 22 | } |
| 23 | |
| 24 | constructor(props) { |
| 25 | super(props); |
nothing calls this directly
no outgoing calls
no test coverage detected