diff options
Diffstat (limited to 'src/containers')
-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, |