fix: resolve oxlint warnings — suppress false positives, remove unused imports (#22687)
This commit is contained in:
@@ -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 []
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user