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() dropdown = React.createRef()
componentDidUpdate(prevProps) { static getDerivedStateFromProps(props) {
if (prevProps.isVisible && !this.props.isVisible) { if (!props.isVisible) {
this.setState({ return {
highlights: {} highlights: {}
}) }
} }
} }

Loading…
Cancel
Save