Reapply "fix(app): startup efficiency"

This reverts commit 898456a25c.
This commit is contained in:
Adam 2026-03-25 06:25:57 -05:00
commit 1041ae91d1
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75
40 changed files with 1109 additions and 683 deletions

View file

@ -22,7 +22,7 @@ export function useProviders() {
const providers = () => {
if (dir()) {
const [projectStore] = globalSync.child(dir())
return projectStore.provider
if (projectStore.provider.all.length > 0) return projectStore.provider
}
return globalSync.data.provider
}