removed pending index success toast

This commit is contained in:
plebbitor
2023-04-23 08:24:52 +02:00
parent 97be116961
commit ccc4476f78
6 changed files with 2 additions and 32 deletions
-8
View File
@@ -143,14 +143,6 @@ const SettingsModal = ({ isOpen, closeModal }) => {
localStorage.removeItem("cacheCleared");
}
}, []);
useEffect(() => {
const toastFromStorage = localStorage.getItem("toastMessage");
if (toastFromStorage) {
setSuccessMessage(toastFromStorage);
localStorage.removeItem("toastMessage");
}
}, []);