Reapply "fix(app): startup efficiency (#18854)"

This reverts commit 311a58a8c8.
This commit is contained in:
Adam
2026-03-24 18:49:02 -05:00
parent 66444a700a
commit eba2f67227
33 changed files with 943 additions and 636 deletions
+1 -1
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
}