From f86625826c289645d66f6d37e218a89714487cac Mon Sep 17 00:00:00 2001 From: syam babu Date: Fri, 6 Dec 2024 18:03:06 +0530 Subject: [PATCH] removed unneccsaary return statement --- src/pages/Dashboard/CreateNewPlace/CreateNewPlace.jsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/pages/Dashboard/CreateNewPlace/CreateNewPlace.jsx b/src/pages/Dashboard/CreateNewPlace/CreateNewPlace.jsx index bea652b9..891a6fad 100644 --- a/src/pages/Dashboard/CreateNewPlace/CreateNewPlace.jsx +++ b/src/pages/Dashboard/CreateNewPlace/CreateNewPlace.jsx @@ -477,11 +477,6 @@ function CreateNewPlace() { { postalCode: typeof values?.postalCode === 'string' ? values.postalCode.trim() : values?.postalCode }, ); - if (values.name.fr) { - console.log(postalObj); - return; - } - if (values?.dynamicFields) { dynamicFields = Object.keys(values?.dynamicFields)?.map((dynamicField) => { return {