mirror of
https://github.com/mudabbir-ahmad/Project-MAD-crudler.git
synced 2026-10-08 04:40:20 +00:00
fixing onDelete
This commit is contained in:
1 parent
1c4130b876
commit
779913b8b6
1 file changed
+2
-2
@@ -6,13 +6,13 @@ import ModuleView from "../entity/modules/ModuleView";
|
||||
export const ModuleViewScreen = ({route}) => {
|
||||
// Initialisation -------------
|
||||
|
||||
const {module} = route.params;
|
||||
const {module, onDelete} = route.params;
|
||||
|
||||
// State ----------------------
|
||||
// Handlers -------------------
|
||||
// View -----------------------
|
||||
return (<Screen>
|
||||
<ModuleView module={module}></ModuleView>
|
||||
<ModuleView module={module} onDelete={onDelete}></ModuleView>
|
||||
</Screen>);
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user