refresh data when assign a team to a volunteer, and can unassign

This commit is contained in:
memeriau
2022-04-18 13:42:03 +02:00
parent c474426fa8
commit 84477469a8
3 changed files with 13 additions and 8 deletions

View File

@@ -48,6 +48,8 @@ export const fetchVolunteerListIfNeed = (): AppThunk => (dispatch, getState) =>
return null
}
export const refreshVolunteerList = (): AppThunk => (dispatch) => dispatch(fetchVolunteerList())
export const selectVolunteerListState = (state: AppState): EntitiesRequest<Volunteer> =>
state.volunteerList