From f3b2c96d7a04dfb9534dd40c09305322ff6c8e35 Mon Sep 17 00:00:00 2001 From: mudabbir-ahmad Date: Sun, 7 Dec 2025 17:56:35 +0000 Subject: [PATCH] missed some code when refactoring user modify, removed stylesheet as well as there is no need for it as the styling is done in the components themselves. --- src/components/screens/UserModifyScreen.js | 27 ++++++++++------------ 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/src/components/screens/UserModifyScreen.js b/src/components/screens/UserModifyScreen.js index 394a834..972f1f8 100644 --- a/src/components/screens/UserModifyScreen.js +++ b/src/components/screens/UserModifyScreen.js @@ -1,21 +1,20 @@ -import {StyleSheet, Text} from "react-native"; import Screen from "../layout/Screen"; -import ModuleForm from "../entity/modules/moduleForm"; +import UserForm from "../entity/users/UserForm"; -export const UserModifyScreen = ({navigation, route}) => { -// Initialisation ------------- - const {user, onModify} = route.params; +const UserModifyScreen = ({ navigation, route }) => { + // Initialisation ------------- + const { user, onModify } = route.params; -// State ---------------------- -// Handlers ------------------- + // State ---------------------- + // Handlers ------------------- - const handleCancel = () => navigation.navigate.goBack(); + const handleCancel = () => navigation.goBack(); -// View ----------------------- + // View ----------------------- return ( - - + @@ -23,6 +22,4 @@ export const UserModifyScreen = ({navigation, route}) => { ); }; -const styles = StyleSheet.create({}); - -export default UserModifyScreen; \ No newline at end of file +export default UserModifyScreen;