Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(FlowCanvasPage): handle missing flow data on initial render

Steven Enamakel39341262ac5d
diff --git a/app/src/pages/FlowCanvasPage.tsx b/app/src/pages/FlowCanvasPage.tsx
index b22aa3c652..745e2af05a 100644
--- a/app/src/pages/FlowCanvasPage.tsx
+++ b/app/src/pages/FlowCanvasPage.tsx
@@ -1078,8 +1078,6 @@ function FlowEditor({
goBack();
}, [dirty, goBack]);
- const backButton = <CanvasBackButton onBack={handleBack} />;
-
// A draft has nothing persisted to run yet — the canvas's Save (which creates
// the flow) is the only gate, so no Run affordance until it's saved.
const runButton = isDraft ? undefined : (