diff options
author | eug-vs <eug-vs@keemail.me> | 2020-03-21 16:05:52 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-03-21 16:05:52 +0300 |
commit | 0267191d92814e753b966ce3bdfbd9b804b313d7 (patch) | |
tree | 278a7b4dcf199007355a815556cb3413d96695c9 /src/pages/Profile/Registration.tsx | |
parent | 9e2132cd54e5f5e6b85c7d949ac982cb95566027 (diff) | |
download | chrono-cube-ui-0267191d92814e753b966ce3bdfbd9b804b313d7.tar.gz |
fix: add missing types
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 => { |