aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorilyayudovin <ilyayudovin123@gmail.com>2020-08-28 20:19:25 +0300
committerilyayudovin <ilyayudovin123@gmail.com>2020-08-28 20:19:25 +0300
commitceff44e622a07c5c17484e0222c78785fe12e6d2 (patch)
treeb14a001cbc4963b5f69591198ac77b0d77de679f
parent421a1e8d73714dce004e7682dfa3c52ccdb0f71f (diff)
downloadwhich-ui-ceff44e622a07c5c17484e0222c78785fe12e6d2.tar.gz
fix eslint errors
-rw-r--r--src/containers/Registration/Registration.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/containers/Registration/Registration.tsx b/src/containers/Registration/Registration.tsx
index ff9af60..709d04e 100644
--- a/src/containers/Registration/Registration.tsx
+++ b/src/containers/Registration/Registration.tsx
@@ -109,7 +109,7 @@ const Registration: React.FC = () => {
};
const handleToLowerCase = (e: React.ChangeEvent<HTMLInputElement>) => {
- e.target.value = ("" + e.target.value).toLowerCase();
+ e.target.value = e.target.value.toString().toLowerCase();
};
return (