parent
47645ea327
commit
7f7bdbf525
1 changed files with 1477 additions and 577 deletions
|
|
@ -33,12 +33,12 @@ class const BotCommandForm(
|
|||
(index, parameter) => BotOptionPill(
|
||||
parameter,
|
||||
key: ValueKey(parameter.key),
|
||||
roomId: draft.roomId,
|
||||
composer: draft.composer,
|
||||
onSubmit: onSubmit,
|
||||
onRemove: parameter.optional
|
||||
? () => ref
|
||||
.read(
|
||||
BotCommandDraftController.provider(draft.roomId)
|
||||
BotCommandDraftController.provider(draft.composer)
|
||||
.notifier,
|
||||
)
|
||||
.removeOption(parameter.key)
|
||||
|
|
|
|||
Loading…
Reference in a new issue