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
+11 -9
View File
@@ -7,13 +7,15 @@
* Security: T-05-24 — all copy is plain-text JSX children, no dangerouslySetInnerHTML.
*/
import { X } from 'lucide-react'
import { X } from 'lucide-react';
// ── OS detection ──────────────────────────────────────────────────────────
function isIOS(): boolean {
return /iPad|iPhone|iPod/.test(navigator.userAgent) &&
return (
/iPad|iPhone|iPod/.test(navigator.userAgent) &&
!(window as unknown as { MSStream?: unknown }).MSStream
);
}
// ── Instruction steps ────────────────────────────────────────────────────
@@ -23,24 +25,24 @@ const IOS_STEPS = [
'Scroll down and tap Safari',
'Tap Notifications',
'Allow notifications for FamilySync',
]
];
const ANDROID_STEPS = [
'Open your browser (Chrome or Edge) on your phone',
'Tap the three-dot menu → Settings',
'Tap Site Settings → Notifications',
'Find FamilySync and tap Allow',
]
];
// ── Instruction sheet ────────────────────────────────────────────────────
interface InstructionSheetProps {
onClose: () => void
onClose: () => void;
}
export function InstructionSheet({ onClose }: InstructionSheetProps) {
const steps = isIOS() ? IOS_STEPS : ANDROID_STEPS
const platform = isIOS() ? 'iOS' : 'Android'
const steps = isIOS() ? IOS_STEPS : ANDROID_STEPS;
const platform = isIOS() ? 'iOS' : 'Android';
return (
<div
@@ -57,7 +59,7 @@ export function InstructionSheet({ onClose }: InstructionSheetProps) {
zIndex: 1000,
}}
onClick={(e) => {
if (e.target === e.currentTarget) onClose()
if (e.target === e.currentTarget) onClose();
}}
>
<div
@@ -185,5 +187,5 @@ export function InstructionSheet({ onClose }: InstructionSheetProps) {
</button>
</div>
</div>
)
);
}