src/utils/pause/frames/collapseFrames.js
function addGroupToList(group, list) {
    if (!group) {
      return list;
    }

    if (group.length > 1) {
      list.push(group);
    } else {
      list = list.concat(group);
    }

    return list;
  }
function addGroupToList(group, list) {
    if (!group) {
      return list;
    }

    if (group.length > 1) {
      list.push(group);
    } else {
      list = list.concat(group);
    }

    return list;
  }
function addGroupToList ( group , list ) { if ( ! group ) { return list ; } if ( group . length > 1 ) { list . push ( group ) ; } else { list = list . concat ( group ) ; } return list ; }
We collapse groups of one so that user frames are not in a group of one
We collapse groups of one so that user frames are not in a group of one