fix: remove onCancel button from robot config page

Comment out the cancel button rendering logic in RobotConfigPage.
This commit is contained in:
Karishma Shukla
2025-12-21 17:20:08 +05:30
committed by GitHub
parent 33bfbb6881
commit d444eeac19

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"