Merge pull request #929 from getmaxun/rob-config-cancel

fix: remove `onCancel` button from robot config page
This commit is contained in:
Karishma Shukla
2025-12-30 00:20:48 +05:30
committed by GitHub

View File

@@ -154,7 +154,7 @@ export const RobotConfigPage: React.FC<RobotConfigPageProps> = ({
)}
<Box sx={{ display: 'flex', gap: 2 }}>
{showCancelButton && (
/* {showCancelButton && (
<Button
variant="outlined"
onClick={handleBack}
@@ -164,7 +164,7 @@ export const RobotConfigPage: React.FC<RobotConfigPageProps> = ({
}} >
{cancelButtonText || t("buttons.cancel")}
</Button>
)}
)} */
{showSaveButton && onSave && (
<Button
variant="contained"