Merge pull request #929 from getmaxun/rob-config-cancel
fix: remove `onCancel` button from robot config page
This commit is contained in:
@@ -154,7 +154,7 @@ export const RobotConfigPage: React.FC<RobotConfigPageProps> = ({
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
<Box sx={{ display: 'flex', gap: 2 }}>
|
<Box sx={{ display: 'flex', gap: 2 }}>
|
||||||
{showCancelButton && (
|
/* {showCancelButton && (
|
||||||
<Button
|
<Button
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
onClick={handleBack}
|
onClick={handleBack}
|
||||||
@@ -164,7 +164,7 @@ export const RobotConfigPage: React.FC<RobotConfigPageProps> = ({
|
|||||||
}} >
|
}} >
|
||||||
{cancelButtonText || t("buttons.cancel")}
|
{cancelButtonText || t("buttons.cancel")}
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)} */
|
||||||
{showSaveButton && onSave && (
|
{showSaveButton && onSave && (
|
||||||
<Button
|
<Button
|
||||||
variant="contained"
|
variant="contained"
|
||||||
|
|||||||
Reference in New Issue
Block a user