Add error info when fetching taxes (#701)

* Add error info

* Update changelog
This commit is contained in:
Dominik Żegleń 2020-09-15 14:03:39 +02:00 committed by GitHub
parent 87061b65ea
commit 2600767431
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -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
- Update schema with PositiveDecimal type - #695 by @AlicjaSzu
- Restyle side menu - #697 by @dominik-zeglen
- Add error info when fetching taxes - #701 by @dominik-zeglen
## 2.10.1

View file

@ -35,6 +35,11 @@ export const CountryList: React.FC = () => {
defaultMessage: "Successfully fetched tax rates"
})
});
} else {
notify({
status: "error",
text: intl.formatMessage(commonMessages.somethingWentWrong)
});
}
};