Open jcubic opened 2 months ago
Another example:
const Translations = () => {
const { t } = useTranslation("coi-platform-translations", {
keyPrefix: keyPrefixes.main,
});
return (
<>
<Alert severity="info" icon={false}>
<AlertTitle>{t("info_title")}</AlertTitle>
<Typography variant="body2">{t("info_description")}</Typography>
</Alert>
<EditForm />
</>
);
};
This is part of real application.
There is an error in indentation:
The
<div>
is not indented the same as<a>
and closing fragment is not in color: