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) }