From 49790445e152c774ed9a2559afae18bbf384f04d Mon Sep 17 00:00:00 2001 From: Remi REGNAULT Date: Tue, 21 Nov 2023 15:37:29 +0100 Subject: [PATCH] fix: some error message on ValidateButton props todo is not assigned --- LeftOvers/components/ValidateButton.tsx | 37 +++++++++++++------------ LeftOvers/screens/HomePage.tsx | 17 ++++++------ 2 files changed, 29 insertions(+), 25 deletions(-) diff --git a/LeftOvers/components/ValidateButton.tsx b/LeftOvers/components/ValidateButton.tsx index 5c91946..a075fc4 100644 --- a/LeftOvers/components/ValidateButton.tsx +++ b/LeftOvers/components/ValidateButton.tsx @@ -19,23 +19,26 @@ export default function ValidateButton(props: ValidateButtonProps) { borderRadius: 20, }} onPress={props.todo}> - - + + Ingredient Stocks - + console.log('ManageStocks')}/> @@ -93,9 +94,9 @@ export default function HomePage({ navigation , props}) { - + console.log('Chnge Selected Ingredient')}/> - + console.log('Go and search for recipe')}/>