mirror of
https://github.com/hexastack/hexabot
synced 2025-04-28 02:02:05 +00:00
fix(frontend): update variable name
This commit is contained in:
parent
72ffde9d4e
commit
2962540124
@ -19,7 +19,7 @@ export const ConfirmDialogBody = ({
|
|||||||
itemsNumber?: number;
|
itemsNumber?: number;
|
||||||
}) => {
|
}) => {
|
||||||
const { t } = useTranslate();
|
const { t } = useTranslate();
|
||||||
const DialogBodyText =
|
const dialogBodyText =
|
||||||
itemsNumber === 1
|
itemsNumber === 1
|
||||||
? t("message.item_delete_confirm", {
|
? t("message.item_delete_confirm", {
|
||||||
"0": mode === "click" ? "" : t("message.selected"),
|
"0": mode === "click" ? "" : t("message.selected"),
|
||||||
@ -34,7 +34,7 @@ export const ConfirmDialogBody = ({
|
|||||||
<ErrorIcon sx={{ fontSize: "1.75rem" }} color="error" />
|
<ErrorIcon sx={{ fontSize: "1.75rem" }} color="error" />
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item alignSelf="center">
|
<Grid item alignSelf="center">
|
||||||
<Typography>{DialogBodyText}</Typography>
|
<Typography>{dialogBodyText}</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Grid>
|
</Grid>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user