Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

Fix: 86eubqg7x : Builder/Agent Version Restore Modal - Redundant Cancel Button

samme-abduld3b637a06e26
diff --git a/packages/app/src/builder-ui/ui/react-injects.tsx b/packages/app/src/builder-ui/ui/react-injects.tsx
index 67c8fc46..fcfa7781 100644
--- a/packages/app/src/builder-ui/ui/react-injects.tsx
+++ b/packages/app/src/builder-ui/ui/react-injects.tsx
@@ -207,7 +207,6 @@ export function renderConfirmDialogModals({ rootID }: { rootID: string }) {
message="Restore this version?"
onClose={cancelRestore}
handleConfirm={confirmRestore}
- handleCancel={cancelRestore}
lowMsg="Are you sure you want to restore this to a previous version? Any unsaved changes will be lost."
/>
)}