mirror of
https://github.com/mudabbir-ahmad/Project-MAD-crudler.git
synced 2026-10-07 20:40:20 +00:00
Refactoring a lot of the user items to use the USER data from the API, as it keeps a very similar structure to module.
This commit is contained in:
1 parent
07e04884af
commit
3b246c721f
2 files changed
+2
-2
No files matched your search
@@ -20,7 +20,7 @@ export const App = () => {
|
||||
return (
|
||||
<NavigationContainer>
|
||||
<Stack.Navigator
|
||||
initialRouteName='ModuleListScreen'
|
||||
initialRouteName='UserListScreen'
|
||||
screenOptions={{
|
||||
headerStyle: {backgroundColor: "black"},
|
||||
headerTintColor: "white"
|
||||
|
||||
@@ -51,7 +51,7 @@ const UserListScreen = ({ navigation }) => {
|
||||
|
||||
// View -----------------------
|
||||
return (
|
||||
<Screen drawer={<Drawer onSwitch={handleSwitchToModules} currentView="users" />}>
|
||||
<Screen>
|
||||
<ButtonTray>
|
||||
<Button label='Add' icon={<Icons.Add />} onClick={goToAddScreen} />
|
||||
</ButtonTray>
|
||||
|
||||
Reference in new issue
Block a user