Clean up
This commit is contained in:
parent
fd15f771ef
commit
69cffd0f09
|
@ -43,7 +43,5 @@ export const initialise = context => {
|
||||||
|
|
||||||
// Wipe the caches whenever the datasource changes to ensure we aren't
|
// Wipe the caches whenever the datasource changes to ensure we aren't
|
||||||
// storing any stale information
|
// storing any stale information
|
||||||
datasource.subscribe(() => {
|
datasource.subscribe(cache.actions.resetPrimaryDisplayCache)
|
||||||
cache.actions.resetPrimaryDisplayCache()
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue