fix: clean up 49 unused variables, catch params, and stale imports (#22695)

This commit is contained in:
Kit Langton 2026-04-15 22:01:53 -04:00 committed by GitHub
commit cce05c1665
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
37 changed files with 32 additions and 94 deletions

View file

@ -378,12 +378,6 @@ export function FileTabContent(props: { tab: string }) {
requestAnimationFrame(() => comments.clearFocus())
})
const cancelCommenting = () => {
const p = path()
if (p) file.setSelectedLines(p, null)
setNote("commenting", null)
}
let prev = {
loaded: false,
ready: false,