fix: resolve circular dependencies
This commit is contained in:
@@ -12,6 +12,8 @@ import {
|
||||
challengeMetaSelector
|
||||
} from './';
|
||||
|
||||
import { types as appTypes } from '../../../redux';
|
||||
|
||||
import { setContent, isPoly } from '../utils/polyvinyl';
|
||||
|
||||
const legacyPrefixes = [
|
||||
@@ -60,7 +62,7 @@ function isFilesAllPoly(files) {
|
||||
|
||||
function clearCodeEpic(action$, state$) {
|
||||
return action$.pipe(
|
||||
ofType(types.submitComplete, types.resetChallenge),
|
||||
ofType(appTypes.submitComplete, types.resetChallenge),
|
||||
tap(() => {
|
||||
const { id } = challengeMetaSelector(state$.value);
|
||||
store.remove(id);
|
||||
|
Reference in New Issue
Block a user