fix: clean up final 16 no-unused-vars warnings (#22751)

This commit is contained in:
Kit Langton
2026-04-15 23:54:21 -04:00
committed by GitHub
parent bd29004831
commit 9f4b73b6a3
13 changed files with 8 additions and 37 deletions

View File

@@ -385,7 +385,6 @@ export const SessionReview = (props: SessionReviewProps) => {
<Accordion multiple value={open()} onChange={handleChange}>
<For each={items()}>
{(diff) => {
let wrapper: HTMLDivElement | undefined
const file = diff.file
// binary files have empty diffs that we can't render
@@ -569,7 +568,6 @@ export const SessionReview = (props: SessionReviewProps) => {
<div
data-slot="session-review-diff-wrapper"
ref={(el) => {
wrapper = el
anchors.set(file, el)
nodes.set(file, el)
queue()

View File

@@ -9,7 +9,6 @@ import type {
TextPart,
ReasoningPart,
ToolPart,
CompactionPart,
FilePart,
AgentPart,
} from "@opencode-ai/sdk/v2"