use gDSFP

main
raboid 6 years ago committed by Michael Fix
parent 5f939ac3b4
commit 7226cd8601

@ -54,11 +54,11 @@ class Themes extends React.PureComponent {
dropdown = React.createRef()
componentDidUpdate(prevProps) {
if (prevProps.isVisible && !this.props.isVisible) {
this.setState({
static getDerivedStateFromProps(props) {
if (!props.isVisible) {
return {
highlights: {}
})
}
}
}

Loading…
Cancel
Save