chore: applying some of code rabit's implementation

This commit is contained in:
Caio Cabral committed 2024-11-03 07:01:38 -05:00
1 parent b4f5b68114
commit 3bedb1a689
2 files changed
+5 -2

No files matched your search

+2 -1
View File
@@ -54,7 +54,8 @@ const Check = ({ text, noHighlightText, variant = "info", outlined = false }) =>
opacity: 0.8,
}}
>
<Typography component="span">{noHighlightText}</Typography> {text}
{noHighlightText && <Typography component="span">{noHighlightText}</Typography>}{" "}
{text}
</Typography>
</Stack>
);