moved reset local vote map to application container

This commit is contained in:
Nouman Tahir 2021-04-08 12:46:07 +05:00
parent 258e5d0b09
commit f3cdc4d52b

View File

@ -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();