diff options
author | Ivan Chen <ivan@tagg.id> | 2021-04-20 18:01:40 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-04-20 18:01:40 -0400 |
commit | bb1479dfcd8daad8ef2593d4ac65a0b1239a6139 (patch) | |
tree | ca3d73f914ccacb232f54011b7d6299984e17140 /src/screens/profile/EditProfile.tsx | |
parent | c4e76811cae6cf14d5cc8daed9317f808087ed77 (diff) |
linted
Diffstat (limited to 'src/screens/profile/EditProfile.tsx')
-rw-r--r-- | src/screens/profile/EditProfile.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screens/profile/EditProfile.tsx b/src/screens/profile/EditProfile.tsx index 36abb146..26802e45 100644 --- a/src/screens/profile/EditProfile.tsx +++ b/src/screens/profile/EditProfile.tsx @@ -267,7 +267,7 @@ const EditProfile: React.FC<EditProfileProps> = ({route, navigation}) => { }; const handleClassYearUpdate = (value: string) => { - const classYear = Number.parseInt(value); + const classYear = parseInt(value, 10); setForm({ ...form, classYear, |