We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d51db1c commit 7aca711Copy full SHA for 7aca711
src/extension.ts
@@ -76,12 +76,7 @@ export async function activate(context: vscode.ExtensionContext) {
76
77
// Initialize Roo Code Cloud service.
78
await CloudService.createInstance(context, {
79
- stateChanged: () => {
80
- const provider = ClineProvider.getVisibleInstance()
81
- if (provider) {
82
- provider.postStateToWebview()
83
- }
84
- },
+ stateChanged: () => ClineProvider.getVisibleInstance()?.postStateToWebview(),
85
log: cloudLogger,
86
})
87
0 commit comments