diff --git a/src/store/cache/actions.ts b/src/store/cache/actions.ts index 76c4ea6..eecccae 100644 --- a/src/store/cache/actions.ts +++ b/src/store/cache/actions.ts @@ -3,8 +3,8 @@ import { RootStateInterface } from '../index'; import { CacheStateInterface } from './state'; const actions: ActionTree = { - someAction (/* context */) { - // your code + clearCache(context) { + context.commit('setTasks', []); } };