Updated how groups are fetched, loaded

• Updated:
- how groups are fetched, loaded by setting flags for isLoading, isFetched per tab (new, admin, member, featured)

• Todo:
- Reload on group added, group removal
This commit is contained in:
mgabdev
2020-06-04 18:48:24 -04:00
parent acbc717c59
commit 4f7728b2fa
4 changed files with 75 additions and 23 deletions

View File

@@ -13,7 +13,7 @@ const messages = defineMessages({
})
const mapStateToProps = (state) => ({
groupIds: state.getIn(['group_lists', 'member']),
groupIds: state.getIn(['group_lists', 'member', 'items']),
})
const mapDispatchToProps = (dispatch) => ({