From f3cdc4d52bc7d1d1f47350ff1def4a60a726437e Mon Sep 17 00:00:00 2001 From: Nouman Tahir Date: Thu, 8 Apr 2021 12:46:07 +0500 Subject: [PATCH] moved reset local vote map to application container --- src/screens/application/container/applicationContainer.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/screens/application/container/applicationContainer.js b/src/screens/application/container/applicationContainer.js index 67c4fb3f2..3c104bc02 100644 --- a/src/screens/application/container/applicationContainer.js +++ b/src/screens/application/container/applicationContainer.js @@ -80,6 +80,7 @@ import { toastNotification, updateActiveBottomTab, } from '../../../redux/actions/uiAction'; +import { resetLocalVoteMap } from '../../../redux/actions/postsAction'; import { encryptKey } from '../../../utils/crypto'; @@ -624,6 +625,7 @@ class ApplicationContainer extends Component { //reset certain properties dispatch(hideActionModal()); dispatch(toastNotification('')); + dispatch(resetLocalVoteMap()); const settings = await getSettings();