Fix(challenges): Change challenge toasts copy
This commit is contained in:
@ -42,7 +42,7 @@ function submitModern(type, state) {
|
|||||||
if (type === types.checkChallenge) {
|
if (type === types.checkChallenge) {
|
||||||
return Observable.of(
|
return Observable.of(
|
||||||
makeToast({
|
makeToast({
|
||||||
message: `${randomCompliment()} Go to next challenge.`,
|
message: `${randomCompliment()} Go to your next challenge.`,
|
||||||
action: 'Submit',
|
action: 'Submit',
|
||||||
actionCreator: 'submitChallenge',
|
actionCreator: 'submitChallenge',
|
||||||
timeout: 10000
|
timeout: 10000
|
||||||
|
@ -64,7 +64,7 @@ export default function nextChallengeSaga(actions$, getState) {
|
|||||||
return Observable.of(
|
return Observable.of(
|
||||||
updateCurrentChallenge(nextChallenge),
|
updateCurrentChallenge(nextChallenge),
|
||||||
resetUi(),
|
resetUi(),
|
||||||
makeToast({ message: 'Your next challenge arrived.' }),
|
makeToast({ message: 'Your next challenge has arrived.' }),
|
||||||
push(`/challenges/${nextChallenge.block}/${nextChallenge.dashedName}`)
|
push(`/challenges/${nextChallenge.block}/${nextChallenge.dashedName}`)
|
||||||
);
|
);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
Reference in New Issue
Block a user