diff --git a/src/components/Utilities/index.js b/src/components/Utilities/index.js index 107dedf2d3bed164a5767900e939a199617bfe50..4969a8e566bf0688c7e468fa9a6c66e1538f44ce 100644 --- a/src/components/Utilities/index.js +++ b/src/components/Utilities/index.js @@ -100,7 +100,7 @@ class Utilities extends Component { }), }).then((res) => { if (res.err) { - this.setState({ error: `Failed to create account. | ${res.err.message}` }); + this.setState({ error: `There was an error while creating the account. | ${res.err.message}` }); } else { /* NOTE: The reason to remove the last item and re-add it is to update the props of that component. If the user decides to delete the newly @@ -137,7 +137,7 @@ class Utilities extends Component { }); } - createUtilityComponent = (incForm, downloadURL = '#') => { + createUtilityComponent = (incForm, downloadURL = '') => { let accountProps = {}; const { accountsCounter } = this.state; diff --git a/src/components/UtilityAccount/index.js b/src/components/UtilityAccount/index.js index 48e067ff0813710ec7ae16b36069b5dd1266a22a..a9eec87ff63b41c5013cfd9d226d7176777a393d 100644 --- a/src/components/UtilityAccount/index.js +++ b/src/components/UtilityAccount/index.js @@ -61,29 +61,38 @@ class UtilityAccount extends Component { ) - renderFetchAndDownloadBtn = () => ( -