diff --git a/src/frontend/src/contexts/tabsContext.tsx b/src/frontend/src/contexts/tabsContext.tsx index 7a901f8af..cda49cdc9 100644 --- a/src/frontend/src/contexts/tabsContext.tsx +++ b/src/frontend/src/contexts/tabsContext.tsx @@ -584,7 +584,7 @@ export function TabsProvider({ children }: { children: ReactNode }) { flowData: ReactFlowJsonObject | null, flow: FlowType ) => ({ - description: flow.description ?? getRandomDescription(), + description: flow?.description ?? getRandomDescription(), name: flow?.name ?? getRandomName(), data: flowData, id: "",