Skip to content

Commit

Permalink
fix: reset issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nada-deriv committed Aug 2, 2024
1 parent 1bf3c1e commit d63b7f2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/pages/my-ads/screens/CreateEditAd/CreateEditAd.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,6 @@ const CreateEditAd = () => {
}
}, [countryList, getValues, setValue]);

useEffect(() => {
return () => {
reset();
};
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);

const shouldNotShowArchiveMessageAgain = LocalStorageUtils.getValue<boolean>(
LocalStorageConstants.p2pArchiveMessage
);
Expand Down

0 comments on commit d63b7f2

Please sign in to comment.