Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
Rename some variables
Browse files Browse the repository at this point in the history
  • Loading branch information
ethankaplan committed Nov 28, 2023
1 parent bd00968 commit 06e98e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ import { MappedCql } from "../../../../../util/GroupCoverageHelpers";
import "twin.macro";
import "styled-components/macro";
interface Props {
groupPopulations: any;
populationCriteria: any;
mappedCql: MappedCql;
}

const CoverageTabList = ({ groupPopulations, mappedCql }: Props) => {
const CoverageTabList = ({ populationCriteria, mappedCql }: Props) => {
return (
<div data-testid="coverage-tab-list">
{mappedCql &&
groupPopulations.length &&
groupPopulations.map((pop, i) => {
populationCriteria.length &&
populationCriteria.map((pop, i) => {
return (
<CoverageTab
key={i}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const TestCaseCoverage = ({ populationCriteria, measureCql }) => {
<div tw="p-5" style={{ paddingRight: ".25rem" }}>
<CoverageTabList
data-testid="coverage-tab-list"
groupPopulations={
populationCriteria={
populationCriteria?.populations.filter((pop) => pop.definition) || {}
}
mappedCql={mapCoverageCql(measureCql, populationCriteria)}
Expand Down

0 comments on commit 06e98e6

Please sign in to comment.