aboutsummaryrefslogtreecommitdiff
path: root/src/containers/Registration/Registration.tsx
diff options
context:
space:
mode:
authorilyayudovin <ilyayudovin123@gmail.com>2020-08-28 18:47:40 +0300
committerilyayudovin <ilyayudovin123@gmail.com>2020-08-28 18:47:40 +0300
commit9c571fa6e99d3c5e271c5763d86bf4cdd702aebb (patch)
tree285dc3fd835ddd29480029cb88b5e31576a8a00d /src/containers/Registration/Registration.tsx
parentb7be53c172869679cdfa65a44591c7bd9c5b9302 (diff)
downloadwhich-ui-9c571fa6e99d3c5e271c5763d86bf4cdd702aebb.tar.gz
change state name
Diffstat (limited to 'src/containers/Registration/Registration.tsx')
-rw-r--r--src/containers/Registration/Registration.tsx4
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,