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
|
||||
// storing any stale information
|
||||
datasource.subscribe(() => {
|
||||
cache.actions.resetPrimaryDisplayCache()
|
||||
})
|
||||
datasource.subscribe(cache.actions.resetPrimaryDisplayCache)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue