Remove dup

This commit is contained in:
Manav Rathi 2025-01-06 16:10:41 +05:30
parent ba83c66ba6
commit ada7550035
No known key found for this signature in database

View File

@ -14,12 +14,13 @@ export const ActivityErrorIndicator: React.FC<React.PropsWithChildren> = ({
children, children,
}) => ( }) => (
<Stack sx={{ gap: 2, alignItems: "center" }}> <Stack sx={{ gap: 2, alignItems: "center" }}>
<ErrorOutlineIcon color="secondary" sx={{ color: "critical" }} /> <ErrorOutlineIcon color="secondary" />
<Typography sx={{ color: "text.muted" }}> <Typography sx={{ color: "text.muted" }}>
{children ?? t("generic_error")} {children ?? t("generic_error")}
</Typography> </Typography>
</Stack> </Stack>
); );
/** /**
* An smaller error message indicator suitable for being shown above or below * An smaller error message indicator suitable for being shown above or below
* text fields. * text fields.