diff options
author | Ivan Chen <ivan@thetaggid.com> | 2021-01-22 19:13:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-22 19:13:53 -0500 |
commit | 2262d4937d0248e4742f149c7aa4ec79f76c8478 (patch) | |
tree | 308517c416605f13163bf6847e5c322ee23ab2e8 /src/screens/profile/EditProfile.tsx | |
parent | 9921e80e60cb24d0fc7b99123a8b146c6e7d14ff (diff) | |
parent | e5915b02008dfcebe08de063f0440974c8415d4b (diff) |
Merge pull request #196 from IvanIFChen/tma552-adjust-styles-and-sizes
[TMA-552] Adjust Styles and Sizes
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 36de2bfa..7d3ca581 100644 --- a/src/screens/profile/EditProfile.tsx +++ b/src/screens/profile/EditProfile.tsx @@ -313,7 +313,7 @@ const EditProfile: React.FC<EditProfileProps> = ({route, navigation}) => { if (form.bio) { if (form.isValidBio) { - request.append('biography', form.bio); + request.append('biography', form.bio.trim()); } else { setForm({...form, attemptedSubmit: false}); setTimeout(() => setForm({...form, attemptedSubmit: true})); |