Browse Source

uji teori

pull/2/head
Muhammad Sulaiman Yusuf 2 years ago
parent
commit
628cb6b637
  1. 4
      src/containers/DefaultLayout/DefaultLayout.js

4
src/containers/DefaultLayout/DefaultLayout.js

@ -269,7 +269,9 @@ class DefaultLayout extends Component {
)} /> )} />
) : (null); ) : (null);
})} })}
<Redirect from="/" to="/dashboard" /> { this.state.role_id == 28 ? (
<Redirect from="/" to="/dashboard-customer/48/50" />
) : <Redirect from="/" to="/dashboard" /> }
</Switch> </Switch>
</Suspense> </Suspense>
</Container> </Container>

Loading…
Cancel
Save