diff --git a/web/src/ui/build.ts b/web/src/ui/build.ts index fcd7ba1..5fd26d4 100644 --- a/web/src/ui/build.ts +++ b/web/src/ui/build.ts @@ -68,7 +68,7 @@ export function empty(label: string): HTMLParagraphElement { 'p', { class: 'empty', 'aria-label': label }, h('span', { class: 'empty-icon', 'aria-hidden': 'true' }, '📭'), - ...(label ? [h('span', { class: 'sr-only' }, label)] : []), + h('span', { class: 'sr-only' }, label), ) }