Skip to content

Commit

Permalink
fix actual error
Browse files Browse the repository at this point in the history
  • Loading branch information
hlomzik committed May 8, 2024
1 parent 1619114 commit 6314e33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/libs/datamanager/src/stores/AppStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export const AppStore = types

beforeDestroy() {
clearTimeout(self._poll);
self.viewsStore?.forEach((view) => view.destroy());
self.viewsStore?.forEach?.((view) => view.destroy());
window.removeEventListener("popstate", self.handlePopState);
networkActivity.destroy();
},
Expand Down

0 comments on commit 6314e33

Please sign in to comment.