fix(events): handle new spacer

This commit is contained in:
Sabe Jones
2020-11-03 15:19:54 -06:00
parent 9455f996ef
commit 142fdfe743

View File

@@ -15,8 +15,7 @@ import t from '../../../translation';
const CURRENT_SEASON = moment().isBefore('2020-11-02') ? 'fall' : '_NONE_';
const gearEvents = cloneDeep(EVENTS);
gearEvents.fall2020.end = gearEvents.fall2020SecondPromo.end;
['winter', 'birthday', 'gaymerx', 'fall2020Interim', 'fall2020SecondPromo'].forEach(nonGearEvent => {
['winter', 'birthday', 'gaymerx', 'noCurrentEvent'].forEach(nonGearEvent => {
delete gearEvents[nonGearEvent];
});