From 9c571fa6e99d3c5e271c5763d86bf4cdd702aebb Mon Sep 17 00:00:00 2001
From: ilyayudovin <ilyayudovin123@gmail.com>
Date: Fri, 28 Aug 2020 18:47:40 +0300
Subject: change state name

---
 src/containers/Registration/Registration.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

diff --git a/src/containers/Registration/Registration.tsx b/src/containers/Registration/Registration.tsx
index 0746deb..47b5947 100644
--- a/src/containers/Registration/Registration.tsx
+++ b/src/containers/Registration/Registration.tsx
@@ -38,14 +38,14 @@ const useStyles = makeStyles(theme => ({
   }
 }));
 
-interface errors {
+interface ErrorStates {
   validUsername: boolean | undefined;
   validEmail: boolean | undefined;
   validPassword: boolean | undefined;
 }
 
 const Registration: React.FC = () => {
-  const [values, setValues] = useState<errors>({
+  const [values, setValues] = useState<ErrorStates>({
     validUsername: undefined,
     validEmail: undefined,
     validPassword: undefined,
-- 
cgit v1.2.3

