Fix(challenges): Change challenge toasts copy

This commit is contained in:
Berkeley Martinez
2016-09-08 22:31:42 -07:00
parent 38a30a69c8
commit f47d82de6a
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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) {