Skip to content

Commit 7b84bdc

Browse files
committed
Update variable name for clarity
1 parent 99065db commit 7b84bdc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • packages/sites/ortho-site/webapp/wdkCustomization/js/client/records

packages/sites/ortho-site/webapp/wdkCustomization/js/client/records/Sequences.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ export function RecordTable_Sequences(
638638

639639
if (filteredRows == null) return null;
640640

641-
const warningText =
641+
const errorText =
642642
numSequences >= MIN_SEQUENCES_FOR_TREE &&
643643
(filteredRows.length > MAX_SEQUENCES_FOR_TREE ||
644644
filteredRows.length < MIN_SEQUENCES_FOR_TREE) ? (
@@ -663,7 +663,7 @@ export function RecordTable_Sequences(
663663
} as CSSProperties
664664
}
665665
>
666-
{warningText && <NoteBox type="error">{warningText}</NoteBox>}
666+
{errorText && <NoteBox type="error">{errorText}</NoteBox>}
667667
<div
668668
style={{
669669
padding: '10px',

0 commit comments

Comments
 (0)