diff --git a/packages/fether-react/src/Accounts/CreateAccount/AccountName/AccountName.js b/packages/fether-react/src/Accounts/CreateAccount/AccountName/AccountName.js
index 51e584aa404990482eb624afc81e12f2b0cc23b9..61fa9e20805b1d22343e6590dade05957dd07f24 100644
--- a/packages/fether-react/src/Accounts/CreateAccount/AccountName/AccountName.js
+++ b/packages/fether-react/src/Accounts/CreateAccount/AccountName/AccountName.js
@@ -56,8 +56,8 @@ class AccountName extends Component {
{!!address && }
-
-
{confirmations >= MIN_CONFIRMATIONS && (
)}
diff --git a/packages/fether-react/src/Send/Signer/Signer.js b/packages/fether-react/src/Send/Signer/Signer.js
index c70f204fc8d814d577177f1fc3be2a5affec0a3d..3793ed5dcc3e3ad41828d0a2ac8bb9463e90a69d 100644
--- a/packages/fether-react/src/Send/Signer/Signer.js
+++ b/packages/fether-react/src/Send/Signer/Signer.js
@@ -29,7 +29,7 @@ class Signer extends Component {
this.setState({ isSending: true }, () => {
sendStore
- .acceptRequest(password)
+ .send(password)
.then(() => history.push('/send/sent'))
.catch(error => {
this.setState({ error, isSending: false }, () =>
@@ -39,28 +39,26 @@ class Signer extends Component {
});
};
- handleChangePassword = ({ target: { value } }) => {
- this.setState({ error: null, password: value });
+ handleCancel = () => {
+ const { history } = this.props;
+ history.goBack();
};
- handleReject = () => {
- const { history, sendStore } = this.props;
-
- this.setState({ isSending: true }, () => {
- sendStore
- .rejectRequest()
- .then(() => history.goBack())
- .catch(() => history.goBack());
- });
+ handleChangePassword = ({ target: { value } }) => {
+ this.setState({ error: null, password: value });
};
+ /**
+ * TODO All this tooltips refs etc should go inside a React validation
+ * library.
+ */
handleTooltipRef = ref => {
this.tooltip = ref;
};
render () {
const {
- sendStore: { token, tx, txStatus }
+ sendStore: { token, tx }
} = this.props;
const { error, isSending, password } = this.state;
@@ -112,7 +110,7 @@ class Signer extends Component {