Skip to content

Commit

Permalink
Merge pull request #71 from divyanshugour/main
Browse files Browse the repository at this point in the history
Change console.log to console.error in actions.ts
  • Loading branch information
adityasharma7 authored Oct 17, 2022
2 parents 58ac57a + 36caa86 commit 4f09926
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/store/modules/product/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ const actions: ActionTree<ProductState, RootState> = {
// Remove added loader only when new query and not the infinite scroll
if (payload.viewIndex === 0) emitter.emit("dismissLoader");
} catch(error){
console.log(error)
console.error(error)
showToast(translate("Something went wrong"));
}
// TODO Handle specific error
return resp;
},
}

export default actions;
export default actions;

0 comments on commit 4f09926

Please sign in to comment.