TabsBar: force rerender

This commit is contained in:
Alex Gleason 2021-07-10 04:40:16 -05:00
parent 079e269812
commit 447a2561f4
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -162,6 +162,10 @@ const mapStateToProps = state => {
notificationCount: state.getIn(['notifications', 'unread']),
chatsCount: state.get('chats').reduce((acc, curr) => acc + Math.min(curr.get('unread', 0), 1), 0),
dashboardCount: reportsCount + approvalCount,
// HACK: We made things too efficient and now the tabs bar doesn't work right
// ¯\_(ツ)_/¯
forceRerender: Math.random(),
};
};