Skip to content

Commit

Permalink
Merge pull request #71 from divyanshugour/main
Browse files Browse the repository at this point in the history
Fixed: Used console.error instead of console.log
  • Loading branch information
adityasharma7 authored Oct 17, 2022
2 parents 17fecd0 + 1185349 commit b00f573
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 @@ -40,12 +40,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 b00f573

Please sign in to comment.