commit
This commit is contained in:
@@ -49,9 +49,16 @@ const Splash: React.FC = () => {
|
||||
|
||||
|
||||
const routeByOrgType = (params: { otherId: any; orgType: any }) => {
|
||||
const orgType = String(params.orgType);
|
||||
|
||||
|
||||
|
||||
// const orgType = params.orgType;
|
||||
const orgType = "7" as string; // For testing purpose
|
||||
console.log("orgType value:", orgType);
|
||||
console.log("orgType type:", typeof orgType);
|
||||
if (orgType === '4' || orgType === '5' || orgType === '6') {
|
||||
navigation.replace('StageThree', params);
|
||||
|
||||
navigation.replace(NavigationString.StageThreeScreen, params);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user