diff options
Diffstat (limited to 'src/pages/Profile/Registration.tsx')
-rw-r--r-- | src/pages/Profile/Registration.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/Profile/Registration.tsx b/src/pages/Profile/Registration.tsx index 30e357d..a5e0f3e 100644 --- a/src/pages/Profile/Registration.tsx +++ b/src/pages/Profile/Registration.tsx @@ -30,7 +30,7 @@ const Registration: React.FC<PropTypes> = ({ setUser }) => { setIsRememberMe(event.target.checked); }; - const handleSubmit = () => { + const handleSubmit = (): void => { if (username !== '') { post('users/', { username }) .then(response => { |