Fix(code-uri): should use store.remove instead of clear
This commit is contained in:
@ -56,7 +56,7 @@ export function clearCodeSaga(actions, getState) {
|
|||||||
::ofType(types.clearSavedCode)
|
::ofType(types.clearSavedCode)
|
||||||
.map(() => {
|
.map(() => {
|
||||||
const { challengesApp: { id = '' } } = getState();
|
const { challengesApp: { id = '' } } = getState();
|
||||||
store.clear(id);
|
store.remove(id);
|
||||||
return null;
|
return null;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user