From ceff44e622a07c5c17484e0222c78785fe12e6d2 Mon Sep 17 00:00:00 2001
From: ilyayudovin <ilyayudovin123@gmail.com>
Date: Fri, 28 Aug 2020 20:19:25 +0300
Subject: fix eslint errors

---
 src/containers/Registration/Registration.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/containers/Registration/Registration.tsx')

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 (
-- 
cgit v1.2.3

