From d63b7f21854161e24e921d85606e28ebe5e6ef9e Mon Sep 17 00:00:00 2001 From: Nada Date: Fri, 2 Aug 2024 16:33:25 +0400 Subject: [PATCH] fix: reset issue --- src/pages/my-ads/screens/CreateEditAd/CreateEditAd.tsx | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/pages/my-ads/screens/CreateEditAd/CreateEditAd.tsx b/src/pages/my-ads/screens/CreateEditAd/CreateEditAd.tsx index 0b2d679a..14359d23 100644 --- a/src/pages/my-ads/screens/CreateEditAd/CreateEditAd.tsx +++ b/src/pages/my-ads/screens/CreateEditAd/CreateEditAd.tsx @@ -102,13 +102,6 @@ const CreateEditAd = () => { } }, [countryList, getValues, setValue]); - useEffect(() => { - return () => { - reset(); - }; - // eslint-disable-next-line react-hooks/exhaustive-deps - }, []); - const shouldNotShowArchiveMessageAgain = LocalStorageUtils.getValue( LocalStorageConstants.p2pArchiveMessage );