Skip to content

Commit

Permalink
Merge pull request #147 from supabase-community/fix/empty-state-resizing
Browse files Browse the repository at this point in the history
fix: schema empty state resizing
  • Loading branch information
jgoux authored Dec 6, 2024
2 parents c8441ac + 4729d98 commit 7c4d401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/components/schema/empty-state-graph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default function EmptyStateGraph() {
// it needs to happen on the next tick
setTimeout(() => {
reactFlowInstance.fitView({ padding: 1 })
}, 0)
}, 200)
}
}, [reactFlowInstance, showSidebar])

Expand Down

0 comments on commit 7c4d401

Please sign in to comment.