diff --git a/package-lock.json b/package-lock.json index 0890fb87e9..20ff6cb01a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "habitica", - "version": "4.175.3", + "version": "4.175.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index ad5d763d71..6c4ed32f4c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "habitica", "description": "A habit tracker app which treats your goals like a Role Playing Game.", - "version": "4.175.3", + "version": "4.175.5", "main": "./website/server/index.js", "dependencies": { "@babel/core": "^7.12.10", diff --git a/website/common/script/content/bundles.js b/website/common/script/content/bundles.js index 2ae28ed86d..cc68f86418 100644 --- a/website/common/script/content/bundles.js +++ b/website/common/script/content/bundles.js @@ -3,9 +3,7 @@ import find from 'lodash/find'; import t from './translation'; import { EVENTS } from './constants'; -const CURRENT_EVENT = find(EVENTS, event => { - moment().isBetween(event.start, event.end); -}); +const CURRENT_EVENT = find(EVENTS, event => moment().isBetween(event.start, event.end)); /* --------------------------------------------------------------- diff --git a/website/common/script/content/quests.js b/website/common/script/content/quests.js index 67bd49ee2a..f2864a7a12 100644 --- a/website/common/script/content/quests.js +++ b/website/common/script/content/quests.js @@ -9,9 +9,7 @@ import { USER_CAN_OWN_QUEST_CATEGORIES, } from './constants'; -const CURRENT_EVENT = find(EVENTS, event => { - moment().isBetween(event.start, event.end); -}); +const CURRENT_EVENT = find(EVENTS, event => moment().isBetween(event.start, event.end)); const userCanOwnQuestCategories = USER_CAN_OWN_QUEST_CATEGORIES; const quests = {