Fakultas Ilmu Komputer UI

Commit 1a3a481e authored by Ahmad Izzudin Alifyandra's avatar Ahmad Izzudin Alifyandra
Browse files

Merge branch 'create-ecosystem-screen' into 'PBI-13-Create_Ecosystem_Page'

Create ecosystem screen navigator

See merge request !92
parents 171a9d02 14262bfe
Pipeline #86230 passed with stage
in 10 minutes and 54 seconds
......@@ -13,7 +13,7 @@ const CreateEcosystemStackNavigator = () => {
<CreateEcosystemStack.Screen
name="CreateEcosystemScreen"
component={CreateEcosystemScreen}
options={{ headerShown: false }}
options={{ title: "" }}
/>
<CreateEcosystemStack.Screen
name="BusinessCategory"
......
......@@ -57,30 +57,32 @@ const RootNavigator = () => {
<RootStack.Navigator>
{user.id === "" && (
<RootStack.Screen
name="CreateEcosystem"
component={CreateEcosystemStackNavigator}
name="Auth"
component={AuthStackNavigator}
options={{ headerShown: false }}
/>
)}
{user.id === "" && (
{user.id !== "" && (
<RootStack.Screen
name="MainTab"
component={BottomTabNavigator}
options={{ headerShown: false }}
/>
)}
{user.id === "" && (
{user.id !== "" && (
<RootStack.Screen
name="Auth"
component={AuthStackNavigator}
name="CreateEcosystem"
component={CreateEcosystemStackNavigator}
options={{ headerShown: false }}
/>
)}
{user.id !== "" && (
<RootStack.Screen
name="SuccessChangePassword"
component={SuccessChangePasswordScreen}
options={{ headerShown: false }}
/>
)}
<RootStack.Screen
name="SuccessChangePassword"
component={SuccessChangePasswordScreen}
options={{ headerShown: false }}
/>
</RootStack.Navigator>
) : (
<RootStack.Navigator>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment