diff --git a/flowsint-app/README.md b/flowsint-app/README.md index 407a70b..de39c95 100644 --- a/flowsint-app/README.md +++ b/flowsint-app/README.md @@ -34,7 +34,7 @@ This will create a production build in the `dist` folder. ### Preview ```bash -$ npm run preview +$ npm run start ``` -This will preview the production build locally. +This will start the production build locally. diff --git a/flowsint-app/src/components/flows/editor.tsx b/flowsint-app/src/components/flows/editor.tsx index dd7f66e..7a3cf1d 100644 --- a/flowsint-app/src/components/flows/editor.tsx +++ b/flowsint-app/src/components/flows/editor.tsx @@ -398,6 +398,7 @@ const FlowEditor = memo(({ initialEdges, initialNodes, theme, flow }: FlowEditor toast.error('Save the flow first to compute it.') return } + await handleSaveFlow() setLoading(true) try {