summaryrefslogtreecommitdiffhomepage
path: root/app/components/AccountInput.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/components/AccountInput.js')
-rw-r--r--app/components/AccountInput.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/components/AccountInput.js b/app/components/AccountInput.js
index 21967d856a..418cb3b77e 100644
--- a/app/components/AccountInput.js
+++ b/app/components/AccountInput.js
@@ -85,7 +85,7 @@ export default class AccountInput extends React.Component<AccountInputProps, Acc
onKeyDown={ this.onKeyDown }
onPaste={ this.onPaste }
onCut={ this.onCut }
- ref={ this.onRef } />
+ ref={ (ref) => this.onRef(ref) } />
);
}
@@ -295,7 +295,7 @@ export default class AccountInput extends React.Component<AccountInputProps, Acc
}
}
- onRef = (ref: ?HTMLInputElement) => {
+ onRef(ref: ?HTMLInputElement) {
this._ref = ref;
if(!ref) { return; }