feat: improve ui/ux learn map (#40579)

Co-authored-by: Kris Koishigawa <scissorsneedfoodtoo@gmail.com>
This commit is contained in:
Tom
2021-01-13 07:09:45 -06:00
committed by Mrugesh Mohapatra
parent 14ca6beb0a
commit 625469c82f
45 changed files with 3297 additions and 965 deletions

View File

@@ -133,7 +133,7 @@ export default function completionEpic(action$, state$) {
switchMap(({ type }) => {
const state = state$.value;
const meta = challengeMetaSelector(state);
const { nextChallengePath, introPath, challengeType } = meta;
const { nextChallengePath, challengeType } = meta;
const closeChallengeModal = of(closeModal('completion'));
let submitter = () => of({ type: 'no-user-signed-in' });
@@ -151,7 +151,7 @@ export default function completionEpic(action$, state$) {
}
return submitter(type, state).pipe(
tap(() => navigate(introPath ? introPath : nextChallengePath)),
tap(() => navigate(nextChallengePath)),
concat(closeChallengeModal),
filter(Boolean)
);