From 3c8658b4e109d13c225b3aa122a4eba2f6b14ea8 Mon Sep 17 00:00:00 2001 From: Diksha Shukla Date: Mon, 28 Mar 2022 20:39:46 +0530 Subject: [PATCH] Updated the toast notification --- src/pages/NewStory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/NewStory.js b/src/pages/NewStory.js index 900bbf56..d5f88e61 100644 --- a/src/pages/NewStory.js +++ b/src/pages/NewStory.js @@ -131,7 +131,7 @@ const NewStory = () => { navigate('/') } catch (err) { console.error(err.message) - toast.error(err.message) + toast.error('An error occurred') } } return state.auth ? (