From 5781c8c8d4f3281c275218561b4a8e6d2f6c11fd Mon Sep 17 00:00:00 2001 From: Anton Tranelis Date: Mon, 29 Jul 2024 12:42:37 +0200 Subject: [PATCH] remove logging --- src/Components/Profile/ProfileForm.tsx | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/Components/Profile/ProfileForm.tsx b/src/Components/Profile/ProfileForm.tsx index 232b9887..c407c913 100644 --- a/src/Components/Profile/ProfileForm.tsx +++ b/src/Components/Profile/ProfileForm.tsx @@ -63,18 +63,7 @@ export function ProfileForm({ userType }: { userType: string }) { !item && setItem({ id: crypto.randomUUID(), name: user ? user.first_name : "", text: "", layer: layer, new: true }) - }, [items]) - - useEffect(() => { - console.log(state.offers); - console.log(state.needs); - console.log(state.id); - console.log(item); - - - - }, [state]) - + }, [items]) useEffect(() => { const newColor = item.layer?.itemColorField && getValue(item, item.layer?.itemColorField)