Skip to content

Commit

Permalink
Merge pull request #326 from Ritika-Patel08/#302
Browse files Browse the repository at this point in the history
Improved: code by removing toast message when the api for fetching po history fails(#302)
  • Loading branch information
ymaheshwari1 authored Feb 21, 2024
2 parents a4ce5fe + 5e3a03a commit ea80bbd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/store/modules/order/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ const actions: ActionTree<OrderState, RootState> = {
} catch(error){
console.error(error)
current.poHistory.items = [];
showToast(translate("Something went wrong"));
}
commit(types.ORDER_CURRENT_UPDATED, current);
return resp;
Expand Down

0 comments on commit ea80bbd

Please sign in to comment.