Fix rejected Apple :
Submission ID: 1efcd8eb-7d68-4348-9925-43a8e1bd7d1e Add: - app/(application)/terms-agreement.tsx Fix: - app/(application)/(user)/home.tsx - app/(application)/_layout.tsx - context/AuthContext.tsx - ios/HIPMIBadungConnect/Info.plist - screens/Authentication/LoginView.tsx - screens/Authentication/RegisterView.tsx - service/api-config.ts - types/User.ts ### NO Issue
This commit is contained in:
@@ -102,7 +102,11 @@ export default function LoginView() {
|
||||
}
|
||||
|
||||
if (token && token !== "" && isAdmin) {
|
||||
return <Redirect href={"/(application)/admin/dashboard"} />;
|
||||
// Akan di aktifkan jika sudah losos review
|
||||
// return <Redirect href={"/(application)/admin/dashboard"} />;
|
||||
|
||||
// Sementara gunakan ini
|
||||
return <Redirect href={"/(application)/(user)/home"} />;
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user