diff --git a/LeftOvers/screens/CreateProfile.tsx b/LeftOvers/screens/CreateProfile.tsx
index 52d3ade..90be921 100644
--- a/LeftOvers/screens/CreateProfile.tsx
+++ b/LeftOvers/screens/CreateProfile.tsx
@@ -162,7 +162,6 @@ export default function CreateProfile(props) {
Filters
- 0 diets selected
diff --git a/LeftOvers/screens/HomePage.tsx b/LeftOvers/screens/HomePage.tsx
index 4dd8d28..0b206b1 100644
--- a/LeftOvers/screens/HomePage.tsx
+++ b/LeftOvers/screens/HomePage.tsx
@@ -35,7 +35,6 @@ export default function HomePage({ navigation, props }) {
const fetchProfiles = async () => {
const existingProfiles = await handleGetProfiles();
- console.log("Existing Profiles: ---------------------------------"+existingProfiles, existingProfiles.length)
if (existingProfiles.length != 0){
setProfiles(existingProfiles);
}
diff --git a/LeftOvers/screens/IngredientSelection.tsx b/LeftOvers/screens/IngredientSelection.tsx
index ee7b49a..9a0a1fe 100644
--- a/LeftOvers/screens/IngredientSelection.tsx
+++ b/LeftOvers/screens/IngredientSelection.tsx
@@ -56,7 +56,6 @@ const loadIngredients = async () => {
};
useEffect(() => {
- console.log("Je passe ici (Ingredient Selection)")
loadIngredients();
}, []);
diff --git a/LeftOvers/screens/Profiles.tsx b/LeftOvers/screens/Profiles.tsx
index 331474c..7ff396c 100644
--- a/LeftOvers/screens/Profiles.tsx
+++ b/LeftOvers/screens/Profiles.tsx
@@ -31,15 +31,6 @@ export default function Profiles({navigation, props}) {
setVisible(false)
}
- const handleDeleteProfiles = async () => {
- try {
- await AsyncStorage.removeItem('profiles');
- console.log('Données supprimées avec succès !');
- } catch (error) {
- console.error('Erreur lors de la suppression des données :', error);
- }
- };
-
const handleDeleteProfile = async (index) => {
try {
const updatedProfiles = profiles.filter((profile, i) => i !== index);
@@ -74,7 +65,6 @@ export default function Profiles({navigation, props}) {
useEffect(() => {
fetchProfiles();
- console.log(profiles)
}, []);
const containerStyle = {
diff --git a/LeftOvers/screens/RecipeDetails.tsx b/LeftOvers/screens/RecipeDetails.tsx
index 595e4ee..0e6c5ac 100644
--- a/LeftOvers/screens/RecipeDetails.tsx
+++ b/LeftOvers/screens/RecipeDetails.tsx
@@ -26,9 +26,7 @@ export default function RecipeDetails(props) {
const loadRecipe = async () => {
try {
const recipe = await recipesService.getRecipeById(120);
- console.log("Recipe.name: "+recipe.name)
setResponse(recipe);
- console.log("Response.name: "+response.name)
} catch (error) {
console.log(error);
} finally{
@@ -37,7 +35,6 @@ export default function RecipeDetails(props) {
};
useEffect(() => {
- console.log("Je passe ici (useEffect)")
loadRecipe();
}, []);