diff --git a/website/client/components/shops/seasonal/index.vue b/website/client/components/shops/seasonal/index.vue index 7ee8ae4f52..597937ff9c 100644 --- a/website/client/components/shops/seasonal/index.vue +++ b/website/client/components/shops/seasonal/index.vue @@ -379,7 +379,7 @@ }; }, async mounted () { - let worldState = await this.$store.dispatch('worldState:getWorldState'); + const worldState = await this.$store.dispatch('worldState:getWorldState'); this.broken = worldState.worldBoss.extra.worldDmg.seasonalShop; }, computed: { diff --git a/website/client/store/actions/world-state.js b/website/client/store/actions/world-state.js index c5b09cea91..924335992f 100644 --- a/website/client/store/actions/world-state.js +++ b/website/client/store/actions/world-state.js @@ -1,7 +1,7 @@ import axios from 'axios'; export async function getWorldState () { - let url = '/api/v3/world-state'; - let response = await axios.get(url); + const url = '/api/v3/world-state'; + const response = await axios.get(url); return response.data.data; }