From 69cffd0f091c63c27268f387cebf567a71a7fbf9 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 26 Oct 2023 19:14:36 +0100 Subject: [PATCH] Clean up --- packages/frontend-core/src/components/grid/stores/cache.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/frontend-core/src/components/grid/stores/cache.js b/packages/frontend-core/src/components/grid/stores/cache.js index 7d48627314..7eab6795e4 100644 --- a/packages/frontend-core/src/components/grid/stores/cache.js +++ b/packages/frontend-core/src/components/grid/stores/cache.js @@ -43,7 +43,5 @@ export const initialise = context => { // Wipe the caches whenever the datasource changes to ensure we aren't // storing any stale information - datasource.subscribe(() => { - cache.actions.resetPrimaryDisplayCache() - }) + datasource.subscribe(cache.actions.resetPrimaryDisplayCache) }