mirror of
https://github.com/status-im/safe-react.git
synced 2025-02-26 00:15:23 +00:00
update fix
This commit is contained in:
parent
2c8a79e582
commit
7df11f3bcf
@ -29,13 +29,13 @@ class SafeView extends React.Component<Props> {
|
||||
}, TIMEOUT)
|
||||
}
|
||||
|
||||
// componentDidUpdate(prevProps) {
|
||||
// const { activeTokens } = this.props
|
||||
componentDidUpdate(prevProps) {
|
||||
const { activeTokens } = this.props
|
||||
|
||||
// if (!activeTokens.equals(prevProps.activeTokens)) {
|
||||
// this.checkForUpdates()
|
||||
// }
|
||||
// }
|
||||
if (activeTokens.size > prevProps.activeTokens.size) {
|
||||
this.checkForUpdates()
|
||||
}
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
clearInterval(this.intervalId)
|
||||
|
Loading…
x
Reference in New Issue
Block a user