Skip to content

Commit

Permalink
initialisation Error Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
boli32 committed Jan 21, 2025
1 parent ec8c31c commit b0fdabc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QuestTracker/1.0/QuestTracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var QuestTracker = QuestTracker || (function () {
if (state.CalenderData.CALENDARS) CALENDARS = state.CalenderData.CALENDARS;
if (state.CalenderData.WEATHER) WEATHER = state.CalenderData.WEATHER;
}
Object.assign(CALENDARS, state.QUEST_TRACKER.calendar);
if (state.QUEST_TRACKER?.calendar) Object.assign(CALENDARS, state.QUEST_TRACKER.calendar);
return { CALENDARS, WEATHER };
};
const { CALENDARS, WEATHER } = getCalendarAndWeatherData();
Expand Down

0 comments on commit b0fdabc

Please sign in to comment.