Reapply "fix(app): startup efficiency (#18854)"
This reverts commit a379eb3867.
This commit is contained in:
parent
d1c49ba210
commit
0dbfefa080
33 changed files with 939 additions and 632 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue