style(13-03): apply Prettier formatting across repo

Mechanical reformat — no logic changes. 398 files changed, 19125
insertions(+), 16457 deletions(-). Prettier 3.8.4 with .prettierrc
(singleQuote:true, semi:true, tabWidth:2, trailingComma:all,
printWidth:100). Isolated per D-13-08 for reviewability.
This commit is contained in:
Lucas Berger
2026-06-11 20:35:18 -04:00
parent 4bc0445173
commit 982438dc10
398 changed files with 19050 additions and 16382 deletions
@@ -18,23 +18,23 @@
* Security: T-05-24 — all copy is plain-text JSX children, no dangerouslySetInnerHTML.
*/
import { useState } from 'react'
import { AlertCircle } from 'lucide-react'
import { readNotificationsEnabled } from '../hooks/usePushSubscription.js'
import { InstructionSheet } from './InstructionSheet.js'
import { useState } from 'react';
import { AlertCircle } from 'lucide-react';
import { readNotificationsEnabled } from '../hooks/usePushSubscription.js';
import { InstructionSheet } from './InstructionSheet.js';
// ── PermissionDeniedBanner ────────────────────────────────────────────────
export function PermissionDeniedBanner() {
const [instructionsOpen, setInstructionsOpen] = useState(false)
const [instructionsOpen, setInstructionsOpen] = useState(false);
// Only show when OS permission is 'denied' AND the user previously had notifications on.
// This is the OS-revoked case (D-10). Silent re-subscribe handles the expired-sub case.
const permissionDenied =
typeof Notification !== 'undefined' && Notification.permission === 'denied'
const wasEnabled = readNotificationsEnabled()
typeof Notification !== 'undefined' && Notification.permission === 'denied';
const wasEnabled = readNotificationsEnabled();
if (!permissionDenied || !wasEnabled) return null
if (!permissionDenied || !wasEnabled) return null;
return (
<>
@@ -94,9 +94,7 @@ export function PermissionDeniedBanner() {
</div>
</div>
{instructionsOpen && (
<InstructionSheet onClose={() => setInstructionsOpen(false)} />
)}
{instructionsOpen && <InstructionSheet onClose={() => setInstructionsOpen(false)} />}
</>
)
);
}