diff options
author | ilyayudovin <ilyayudovin123@gmail.com> | 2020-08-28 18:47:40 +0300 |
---|---|---|
committer | ilyayudovin <ilyayudovin123@gmail.com> | 2020-08-28 18:47:40 +0300 |
commit | 9c571fa6e99d3c5e271c5763d86bf4cdd702aebb (patch) | |
tree | 285dc3fd835ddd29480029cb88b5e31576a8a00d | |
parent | b7be53c172869679cdfa65a44591c7bd9c5b9302 (diff) | |
download | which-ui-9c571fa6e99d3c5e271c5763d86bf4cdd702aebb.tar.gz |
change state name
-rw-r--r-- | src/containers/Registration/Registration.tsx | 4 |
1 files 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<errors>({ + const [values, setValues] = useState<ErrorStates>({ validUsername: undefined, validEmail: undefined, validPassword: undefined, |