summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2018-03-02 11:47:46 +0100
committerAndrej Mihajlov <and@mullvad.net>2018-03-02 11:47:46 +0100
commit58533f064b7be022c205ffcea6ce66f90e065036 (patch)
tree261e6170a2fb402672a3ef25dcbccf31a359dbc2
parent0ffe971653899c8079716fccd1a54222338ced50 (diff)
downloadmullvadvpn-58533f064b7be022c205ffcea6ce66f90e065036.tar.xz
mullvadvpn-58533f064b7be022c205ffcea6ce66f90e065036.zip
Remove the use of arrow function
-rw-r--r--app/components/AccountInput.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/components/AccountInput.js b/app/components/AccountInput.js
index fea2098eeb..418cb3b77e 100644
--- a/app/components/AccountInput.js
+++ b/app/components/AccountInput.js
@@ -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; }