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}) => {
|
export const ModuleViewScreen = ({route}) => {
|
||||||
// Initialisation -------------
|
// Initialisation -------------
|
||||||
|
|
||||||
const {module} = route.params;
|
const {module, onDelete} = route.params;
|
||||||
|
|
||||||
// State ----------------------
|
// State ----------------------
|
||||||
// Handlers -------------------
|
// Handlers -------------------
|
||||||
// View -----------------------
|
// View -----------------------
|
||||||
return (<Screen>
|
return (<Screen>
|
||||||
<ModuleView module={module}></ModuleView>
|
<ModuleView module={module} onDelete={onDelete}></ModuleView>
|
||||||
</Screen>);
|
</Screen>);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user