mirror of
https://github.com/hexastack/hexabot
synced 2025-02-22 04:17:48 +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;
|
||||
}) => {
|
||||
const { t } = useTranslate();
|
||||
const DialogBodyText =
|
||||
const dialogBodyText =
|
||||
itemsNumber === 1
|
||||
? t("message.item_delete_confirm", {
|
||||
"0": mode === "click" ? "" : t("message.selected"),
|
||||
@ -34,7 +34,7 @@ export const ConfirmDialogBody = ({
|
||||
<ErrorIcon sx={{ fontSize: "1.75rem" }} color="error" />
|
||||
</Grid>
|
||||
<Grid item alignSelf="center">
|
||||
<Typography>{DialogBodyText}</Typography>
|
||||
<Typography>{dialogBodyText}</Typography>
|
||||
</Grid>
|
||||
</Grid>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user