Skip to content

Commit 7aca711

Browse files
committed
Revert unneeded change
1 parent d51db1c commit 7aca711

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/extension.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,7 @@ export async function activate(context: vscode.ExtensionContext) {
7676

7777
// Initialize Roo Code Cloud service.
7878
await CloudService.createInstance(context, {
79-
stateChanged: () => {
80-
const provider = ClineProvider.getVisibleInstance()
81-
if (provider) {
82-
provider.postStateToWebview()
83-
}
84-
},
79+
stateChanged: () => ClineProvider.getVisibleInstance()?.postStateToWebview(),
8580
log: cloudLogger,
8681
})
8782

0 commit comments

Comments
 (0)