diff --git a/apps/database-new/components/SchemaFlowHandler/index.tsx b/apps/database-new/components/SchemaFlowHandler/index.tsx index dd8cc02746d..7eb0cb5b328 100644 --- a/apps/database-new/components/SchemaFlowHandler/index.tsx +++ b/apps/database-new/components/SchemaFlowHandler/index.tsx @@ -46,7 +46,7 @@ const SchemaFlowHandler = ({ content }: SchemaGraphProps) => { getGraphDataFromTables(tables).then(({ nodes, edges }) => { reactFlowInstance.setNodes(nodes) reactFlowInstance.setEdges(edges) - setTimeout(() => reactFlowInstance.fitView({}), 10) + setTimeout(() => reactFlowInstance.fitView({}), 50) }) }, [tables, resolvedTheme, reactFlowInstance])