mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
refactor(frontend): update nlpSample formDialog
This commit is contained in:
@@ -25,9 +25,11 @@ export const FormDialog = ({
|
||||
<Dialog fullWidth {...rest}>
|
||||
<DialogTitle onClose={handleClose}>{title}</DialogTitle>
|
||||
<DialogContent>{children}</DialogContent>
|
||||
<DialogActions style={{ padding: "0.5rem" }}>
|
||||
<DialogFormButtons onCancel={handleClose} onSubmit={onSubmit} />
|
||||
</DialogActions>
|
||||
{rest.hasButtons === false ? null : (
|
||||
<DialogActions style={{ padding: "0.5rem" }}>
|
||||
<DialogFormButtons onCancel={handleClose} onSubmit={onSubmit} />
|
||||
</DialogActions>
|
||||
)}
|
||||
</Dialog>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user