client/src/components/NewGroupModal/NewGroupModal.js
// Adds new subgroup info to outer Group document
Adds new subgroup info to outer Group document
Adds new subgroup info to outer Group document
function addSubGroupToGroup(groupID, subGroupData) {
    API.addSubGroupToGroup(groupID, subGroupData)
      .then((res) => {
        console.log(res);
      })
      .catch((err) => console.log(err));
  }
function addSubGroupToGroup ( groupID , subGroupData ) { API . addSubGroupToGroup ( groupID , subGroupData ) . then ( ( res ) => { console . log ( res ) ; } ) . catch ( ( err ) => console . log ( err ) ) ; }
Adds new subgroup info to outer Group document
Adds new subgroup info to outer Group document