udpate , use stream mode all the time

This commit is contained in:
duanfuxiang
2025-04-30 19:23:20 +08:00
parent 61b42a8a07
commit db34038acc
4 changed files with 54 additions and 16 deletions

View File

@@ -1,4 +1,4 @@
import { TFile, View, WorkspaceLeaf } from 'obsidian'
import { View, WorkspaceLeaf } from 'obsidian'
import { Root, createRoot } from 'react-dom/client'
import ApplyViewRoot from './components/apply-view/ApplyViewRoot'
@@ -27,7 +27,7 @@ export class ApplyView extends View {
}
getDisplayText() {
return `Applying: ${this.state?.file?.name ?? ''}`
return `Applying: ${this.state?.file ?? ''}`
}
async setState(state: ApplyViewState) {