Add error info when fetching taxes (#701)
* Add error info * Update changelog
This commit is contained in:
parent
87061b65ea
commit
2600767431
2 changed files with 6 additions and 0 deletions
|
@ -39,6 +39,7 @@ All notable, unreleased changes to this project will be documented in this file.
|
||||||
- Fix not closed address update modal with two confirmations - #699 by @orzechdev
|
- Fix not closed address update modal with two confirmations - #699 by @orzechdev
|
||||||
- Update schema with PositiveDecimal type - #695 by @AlicjaSzu
|
- Update schema with PositiveDecimal type - #695 by @AlicjaSzu
|
||||||
- Restyle side menu - #697 by @dominik-zeglen
|
- Restyle side menu - #697 by @dominik-zeglen
|
||||||
|
- Add error info when fetching taxes - #701 by @dominik-zeglen
|
||||||
|
|
||||||
## 2.10.1
|
## 2.10.1
|
||||||
|
|
||||||
|
|
|
@ -35,6 +35,11 @@ export const CountryList: React.FC = () => {
|
||||||
defaultMessage: "Successfully fetched tax rates"
|
defaultMessage: "Successfully fetched tax rates"
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
notify({
|
||||||
|
status: "error",
|
||||||
|
text: intl.formatMessage(commonMessages.somethingWentWrong)
|
||||||
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue