Fixed typo in utils.js filterComingSoonBetaChallenge

This commit is contained in:
Ashley Perpetual
2016-11-09 11:14:56 +08:00
parent c4611c9446
commit 2faadffc3d
3 changed files with 12 additions and 12 deletions

View File

@@ -257,7 +257,7 @@ export function getMouse(e, [dx, dy]) {
return [pageX - dx, pageY - dy];
}
export function filterCommingSoonBetaChallenge(
export function filterComingSoonBetaChallenge(
isDev = false,
{ isComingSoon, isBeta }
) {
@@ -269,7 +269,7 @@ export function filterComingSoonBetaFromEntities(
{ challenge: challengeMap, ...rest },
isDev = false
) {
const filter = filterCommingSoonBetaChallenge.bind(null, isDev);
const filter = filterComingSoonBetaChallenge.bind(null, isDev);
return {
...rest,
challenge: Object.keys(challengeMap)