fix: prefix 32 unused parameters with underscore (#22694)
This commit is contained in:
parent
6625766350
commit
d6b14e2467
2 changed files with 30 additions and 30 deletions
|
|
@ -78,7 +78,7 @@ export function DialogMcp() {
|
|||
title="MCPs"
|
||||
options={options()}
|
||||
keybind={keybinds()}
|
||||
onSelect={(option) => {
|
||||
onSelect={(_option) => {
|
||||
// Don't close on select, only on escape
|
||||
}}
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ export function DialogConfirm(props: DialogConfirmProps) {
|
|||
paddingLeft={1}
|
||||
paddingRight={1}
|
||||
backgroundColor={key === store.active ? theme.primary : undefined}
|
||||
onMouseUp={(evt) => {
|
||||
onMouseUp={(_evt) => {
|
||||
if (key === "confirm") props.onConfirm?.()
|
||||
if (key === "cancel") props.onCancel?.()
|
||||
dialog.clear()
|
||||
|
|
|
|||
Loading…
Reference in a new issue