mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-29 11:42:17 +00:00
chore(browser): add the blank lines the lint asks for in the refusal bar
This commit is contained in:
parent
d1a5f9eb0b
commit
5df15a892b
1 changed files with 2 additions and 0 deletions
|
|
@ -13,12 +13,14 @@ export function RefusalBar(props: {
|
|||
answer: (dismiss: boolean) => Promise<void>
|
||||
}) {
|
||||
const ctx = usePlugin<typeof definition>()
|
||||
|
||||
const guard = createMemo(
|
||||
on(
|
||||
() => props.notice.token,
|
||||
() => actionGuard(performance.now()),
|
||||
),
|
||||
)
|
||||
|
||||
const press = (event: PointerEvent) => guard().press(event)
|
||||
|
||||
const key = (event: KeyboardEvent) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue