Skip to content

Commit

Permalink
fix shipping with wrong companyPackageRawId (#589)
Browse files Browse the repository at this point in the history
  • Loading branch information
levenecav authored and isaldin committed Sep 24, 2018
1 parent 8972a05 commit 288698c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/pages/Manage/Store/Products/Product/Shipping/Shipping.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,9 @@ class Shipping extends Component<PropsType, StateType> {
const { companies, inter, pickup, withoutInter, withoutLocal } = data;
if (withoutInter !== undefined) {
this.setState({ withoutInter });
return;
}
if (withoutLocal !== undefined) {
this.setState({ withoutLocal });
return;
}
if (companies) {
if (inter) {
Expand Down

0 comments on commit 288698c

Please sign in to comment.