From 9c571fa6e99d3c5e271c5763d86bf4cdd702aebb Mon Sep 17 00:00:00 2001 From: ilyayudovin 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(-) 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({ + const [values, setValues] = useState({ validUsername: undefined, validEmail: undefined, validPassword: undefined, -- cgit v1.2.3