Skip to content

Commit

Permalink
fix(ava-react/ntv): fix ntv default text
Browse files Browse the repository at this point in the history
  • Loading branch information
chenluli committed Mar 12, 2024
1 parent f9a90ad commit cb7147d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ava-react/src/NarrativeTextVis/phrases/Phrase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,5 +188,5 @@ export const Phrase: React.FC<PhraseProps> = ({
return <>{renderPhraseByDescriptor({ spec: phrase, descriptor, themeStyles, events })}</>;
}

return !isEmpty(events) ? <span {...eventProps}>defaultText</span> : defaultText;
return !isEmpty(events) ? <span {...eventProps}>{defaultText}</span> : defaultText;
};

0 comments on commit cb7147d

Please sign in to comment.