Skip to content

Commit

Permalink
Update variable name for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
dmfalke committed Nov 22, 2024
1 parent 99065db commit 7b84bdc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ export function RecordTable_Sequences(

if (filteredRows == null) return null;

const warningText =
const errorText =
numSequences >= MIN_SEQUENCES_FOR_TREE &&
(filteredRows.length > MAX_SEQUENCES_FOR_TREE ||
filteredRows.length < MIN_SEQUENCES_FOR_TREE) ? (
Expand All @@ -663,7 +663,7 @@ export function RecordTable_Sequences(
} as CSSProperties
}
>
{warningText && <NoteBox type="error">{warningText}</NoteBox>}
{errorText && <NoteBox type="error">{errorText}</NoteBox>}
<div
style={{
padding: '10px',
Expand Down

0 comments on commit 7b84bdc

Please sign in to comment.