Closed benloh closed 2 years ago
The issue is that FiltersPanel is unmounted, but it is still listening to UDATA.OnAppStateChange("FDATA", this.UpdateFilterDefs);
.
The solution is to add a AppStateChangeOff
call to componentWillUnmount, e.g.
componentWillUnmount() {
// console.error('TBD: gracefully unsubscribe!')
UDATA.AppStateChangeOff("FDATA", this.UpdateFilterDefs);
}
Addressed in #179
This would appear after: