unfixed role
This commit is contained in:
@@ -44,7 +44,7 @@ export default function AppNavigator() {
|
||||
],
|
||||
config: {
|
||||
screens: {
|
||||
Profile: "invite",
|
||||
GroupDetails: "invite/:inviteCode",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -90,7 +90,7 @@ export default function OtpVerificationScreen() {
|
||||
|
||||
console.log("✅ OTP Verified:", res.data);
|
||||
if (res.data.statusCode === 200) {
|
||||
saveToken(res.data.data);
|
||||
saveToken(res.data.data.jwt);
|
||||
fetchUserProfile()
|
||||
navigation.navigate('Home')
|
||||
ToastAndroid.show("OTP Verified Successfully!", ToastAndroid.SHORT);
|
||||
|
||||
Reference in New Issue
Block a user