fix: resolve oxlint warnings — suppress false positives, remove unused imports (#22687)

This commit is contained in:
Kit Langton
2026-04-15 21:33:54 -04:00
committed by GitHub
parent bbdbc107ae
commit f7d4665e40
80 changed files with 82 additions and 106 deletions
@@ -863,7 +863,7 @@ export function Session() {
)
await Clipboard.copy(transcript)
toast.show({ message: "Session transcript copied to clipboard!", variant: "success" })
} catch (error) {
} catch {
toast.show({ message: "Failed to copy session transcript", variant: "error" })
}
dialog.clear()
@@ -925,7 +925,7 @@ export function Session() {
toast.show({ message: `Session exported to ${filename}`, variant: "success" })
}
} catch (error) {
} catch {
toast.show({ message: "Failed to export session", variant: "error" })
}
dialog.clear()
@@ -1010,7 +1010,7 @@ export function Session() {
),
}
})
} catch (error) {
} catch {
return []
}
})