Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: only call project overview from connect dialog when open (#8977)
Fixes a bug where we'd call the project overview every second when on a project page. The reason this happens is that the connect SDK dialog sets up a fetcher to re-fetch it every second. The request should only be fired when the dialog is open, but because of the way it's set up, we we're setting up the repeated fetch regardless of whether the dialog was open or not. This PR moves the dialog and all it's content into a nested component that's only rendered if the dialog should be opened.
- Loading branch information