style(app): wrap R4 lines over 100 columns

This commit is contained in:
bchanot committed 2026-11-17 00:59:34 +01:00
1 parent b378cf066f
commit 2930f4919f
2 files changed
+10 -3

No files matched your search

+3 -2
View File
@@ -67,8 +67,9 @@ const INTEGRITY: ReadonlySet<CatalogueFailure> = new Set([
]) ])
/** /**
* How a catalogue card treats its failure (board 30, A10, owner D1): never hidden; `refused` when the * How a catalogue card treats its failure (board 30, A10, owner D1): never
* version itself is refused (integrity, or over the size limits), retried only where a retry can work. * hidden; `refused` when the version itself is refused (integrity, or over the
* size limits), retried only where a retry can work.
*/ */
export function cardFailure(failure: CatalogueFailure, stopped: boolean) { export function cardFailure(failure: CatalogueFailure, stopped: boolean) {
const integrity = INTEGRITY.has(failure) const integrity = INTEGRITY.has(failure)
+7 -1
View File
@@ -19,7 +19,13 @@ const TONE: Record<NoticeProps['tone'], string> = {
} }
/** Inline status line: icon + text, never colour alone. */ /** Inline status line: icon + text, never colour alone. */
export default function Notice({ tone, children, className = '', icon, live = true }: NoticeProps) { export default function Notice({
tone,
children,
className = '',
icon,
live = true,
}: NoticeProps) {
const role = tone === 'error' ? 'alert' : 'status' const role = tone === 'error' ? 'alert' : 'status'
return ( return (
<div <div