Skip to content

Conversation

@4ndrelim
Copy link
Member

This PR removes unused vars that is causing the chrome extension build error due to TypeScript's strict compilation rules.

Copilot AI review requested due to automatic review settings December 15, 2025 19:22
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses TypeScript compilation errors in the chrome extension build by removing unused variables and parameters. The changes clean up the JsonRpc component and its usage by eliminating the unused jsonRpcResult parameter and associated unused imports.

Key changes:

  • Removed jsonRpcResult prop from JsonRpc component interface and implementation
  • Cleaned up unused imports (JsonRpcResult, MarkdownComponent, useState) from jsonrpc.tsx
  • Updated all JsonRpc component invocations to exclude the jsonRpcResult parameter

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
webapp/_webapp/src/components/message-entry-container/tools/tools.tsx Removed jsonRpcResult parameter from two JsonRpc component calls
webapp/_webapp/src/components/message-entry-container/tools/jsonrpc.tsx Removed unused imports and jsonRpcResult from component props interface and implementation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@4ndrelim 4ndrelim merged commit c2a8b1b into main Dec 15, 2025
1 check passed
@4ndrelim 4ndrelim deleted the fix-unused-vars branch December 15, 2025 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants