removing unneeded catch

This commit is contained in:
Max 2022-01-12 12:55:11 -05:00
parent 5c94557a0b
commit 4d0cfd8332

View file

@ -26,9 +26,7 @@ export default ({
beforeRouteEnter(to, from, next) {
// Call APIs
const cmsContentPromise = fetchCmsContentForPage(to.query.fmgPage);
const damageOptions = baseMixin.methods.dispatchNonBlockingStoreAction(storeActions.GET_DAMAGE_OPTIONS, {carId: store.getters.vehicle.carId}).catch((err) => {
console.log(err);
});;
const damageOptions = baseMixin.methods.dispatchNonBlockingStoreAction(storeActions.GET_DAMAGE_OPTIONS, {carId: store.getters.vehicle.carId});
// Settle promises and get results
const promiseResultMap = [