From 97645577c3d146392da455d825c51b6e4dd7d87a Mon Sep 17 00:00:00 2001 From: kanhaiya04 Date: Sat, 11 Mar 2023 12:35:29 +0530 Subject: [PATCH] added alert message on successful logout --- com-dict-client/src/store/actions/authActions.js | 1 + 1 file changed, 1 insertion(+) diff --git a/com-dict-client/src/store/actions/authActions.js b/com-dict-client/src/store/actions/authActions.js index 67ef6c3..066a2ab 100644 --- a/com-dict-client/src/store/actions/authActions.js +++ b/com-dict-client/src/store/actions/authActions.js @@ -52,6 +52,7 @@ export const signOut = () => async (firebase, history) => { try { await firebase.logout(); history.push("/"); + message.success("Logout success"); } catch (e) { console.log(e.message); }