update fix

This commit is contained in:
Mikhail Mikheev 2019-04-15 22:24:43 +04:00
parent 2c8a79e582
commit 7df11f3bcf
1 changed files with 6 additions and 6 deletions

View File

@ -29,13 +29,13 @@ class SafeView extends React.Component<Props> {
}, TIMEOUT) }, TIMEOUT)
} }
// componentDidUpdate(prevProps) { componentDidUpdate(prevProps) {
// const { activeTokens } = this.props const { activeTokens } = this.props
// if (!activeTokens.equals(prevProps.activeTokens)) { if (activeTokens.size > prevProps.activeTokens.size) {
// this.checkForUpdates() this.checkForUpdates()
// } }
// } }
componentWillUnmount() { componentWillUnmount() {
clearInterval(this.intervalId) clearInterval(this.intervalId)