diff options
author | Leon Jiang <35908040+leonyjiang@users.noreply.github.com> | 2020-07-20 16:27:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-20 19:27:45 -0400 |
commit | e87d4f2b10cff8cf5f31784cfddb22727a94f373 (patch) | |
tree | dd454883f3f4054e895c7ce80f2845d68ba31364 /src/routes/Routes.tsx | |
parent | c38291fb50e30af0739f17de42f3b8bb51cca73e (diff) |
[TMA-134] Profile Picture Upload (#22)
* Fix styling, remove unnecessary state
* Change large profile to square crop, restyle
* Disable gestures on Verification and Profile screens
* Forward username and ID to Profile screen
* Add API request upon submit & filler components
* Restore gestures to Verification and Profile
* Rewrite network failure error message
* Update profile request form keys
Diffstat (limited to 'src/routes/Routes.tsx')
-rw-r--r-- | src/routes/Routes.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/Routes.tsx b/src/routes/Routes.tsx index 93c16fc9..63486448 100644 --- a/src/routes/Routes.tsx +++ b/src/routes/Routes.tsx @@ -11,8 +11,8 @@ import { export type RootStackParamList = { Login: undefined; Registration: undefined; - Verification: {username: string; email: string} | undefined; - Profile: undefined; + Verification: {username: string; email: string; userId: string}; + Profile: {username: string; userId: string}; }; const RootStack = createStackNavigator<RootStackParamList>(); |