Skip to content

Commit

Permalink
Improved: code by removing toast message when the api for fetching po…
Browse files Browse the repository at this point in the history
… history fails(#302)
  • Loading branch information
Ritika-Patel08 committed Feb 21, 2024
1 parent eb6c58e commit 5e3a03a
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
@@ -195,7 +195,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;

0 comments on commit 5e3a03a

Please sign in to comment.