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 }}> <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"