Skip to content

Commit

Permalink
Merge pull request #294 from getmaxun/ui
Browse files Browse the repository at this point in the history
fix: move handleSave onClick to save button for edit robot
  • Loading branch information
amhsirak authored Dec 23, 2024
2 parents dc360f7 + 5939471 commit a150ecd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/molecules/RobotEdit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ export const RobotEditModal = ({ isOpen, handleStart, handleClose, initialSettin
/>
)}

<Box mt={2} display="flex" justifyContent="flex-end" onClick={handleSave}>
<Button variant="contained" color="primary">
<Box mt={2} display="flex" justifyContent="flex-end">
<Button variant="contained" color="primary" onClick={handleSave}>
{t('robot_edit.save')}
</Button>
<Button
Expand Down

0 comments on commit a150ecd

Please sign in to comment.