fix(events): make sure we don't create "fall interim" gear

This commit is contained in:
Sabe Jones
2020-10-02 15:08:13 -05:00
parent 5c7227fc02
commit 9bd07034a5
@@ -16,7 +16,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', 'fall2020SecondPromo'].forEach(nonGearEvent => {
['winter', 'birthday', 'gaymerx', 'fall2020Interim', 'fall2020SecondPromo'].forEach(nonGearEvent => {
delete gearEvents[nonGearEvent];
});