fix(app): more startup perf (#19288)
This commit is contained in:
parent
2e6ac8ff49
commit
c7760b433b
28 changed files with 1012 additions and 568 deletions
|
|
@ -22,7 +22,7 @@ export function useProviders() {
|
|||
const providers = () => {
|
||||
if (dir()) {
|
||||
const [projectStore] = globalSync.child(dir())
|
||||
if (projectStore.provider.all.length > 0) return projectStore.provider
|
||||
if (projectStore.provider_ready) return projectStore.provider
|
||||
}
|
||||
return globalSync.data.provider
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue