mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix(frontend): delete unused openDialog prop
This commit is contained in:
@@ -201,7 +201,7 @@ export const ContextVars = () => {
|
||||
startIcon={<DeleteIcon />}
|
||||
variant="contained"
|
||||
color="error"
|
||||
onClick={() => deleteDialogCtl.openDialog(undefined)}
|
||||
onClick={() => deleteDialogCtl.openDialog()}
|
||||
>
|
||||
{t("button.delete")}
|
||||
</Button>
|
||||
|
||||
@@ -210,7 +210,7 @@ const NlpEntity = () => {
|
||||
startIcon={<DeleteIcon />}
|
||||
variant="contained"
|
||||
color="error"
|
||||
onClick={() => deleteDialogCtl.openDialog(undefined)}
|
||||
onClick={() => deleteDialogCtl.openDialog()}
|
||||
>
|
||||
{t("button.delete")}
|
||||
</Button>
|
||||
|
||||
@@ -404,7 +404,7 @@ export default function NlpSample() {
|
||||
startIcon={<DeleteIcon />}
|
||||
variant="contained"
|
||||
color="error"
|
||||
onClick={() => deleteDialogCtl.openDialog(undefined)}
|
||||
onClick={() => deleteDialogCtl.openDialog()}
|
||||
>
|
||||
{t("button.delete")}
|
||||
</Button>
|
||||
|
||||
@@ -210,7 +210,7 @@ export const NlpValues = ({ entityId }: { entityId: string }) => {
|
||||
startIcon={<DeleteIcon />}
|
||||
variant="contained"
|
||||
color="error"
|
||||
onClick={() => deleteDialogCtl.openDialog(undefined)}
|
||||
onClick={() => deleteDialogCtl.openDialog()}
|
||||
>
|
||||
{t("button.delete")}
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user