} else if (type === ComponentNames.Sample) {
      return state.observations.filter(
        (o) =>
          o.type === ObservationTypes.Sample &&
          o.rowObjectId === rowObjectId &&