fix(30-02): fix biome formatting in onboarding components

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-12 20:47:47 +02:00
parent 5c18a3cd6c
commit 0db8771574
4 changed files with 7 additions and 11 deletions

View File

@@ -5,7 +5,10 @@ interface OnboardingDoneProps {
onFinish: () => void; onFinish: () => void;
} }
export function OnboardingDone({ itemsCreated: _itemsCreated, onFinish }: OnboardingDoneProps) { export function OnboardingDone({
itemsCreated: _itemsCreated,
onFinish,
}: OnboardingDoneProps) {
return ( return (
<div className="flex flex-col items-center justify-center min-h-screen px-8"> <div className="flex flex-col items-center justify-center min-h-screen px-8">
<div className="max-w-2xl text-center"> <div className="max-w-2xl text-center">

View File

@@ -149,10 +149,7 @@ export function OnboardingFlow({ onComplete }: OnboardingFlowProps) {
)} )}
{step === "done" && ( {step === "done" && (
<OnboardingDone <OnboardingDone itemsCreated={itemsCreated} onFinish={onComplete} />
itemsCreated={itemsCreated}
onFinish={onComplete}
/>
)} )}
</div> </div>
</div> </div>

View File

@@ -27,9 +27,7 @@ export function OnboardingItemBrowser({
<div className="max-w-5xl w-full text-center"> <div className="max-w-5xl w-full text-center">
<h1 className="text-3xl font-bold text-gray-900 mb-2"> <h1 className="text-3xl font-bold text-gray-900 mb-2">
Popular gear for{" "} Popular gear for{" "}
{selectedHobbies.length === 1 {selectedHobbies.length === 1 ? selectedHobbies[0] : "your hobbies"}
? selectedHobbies[0]
: "your hobbies"}
</h1> </h1>
<p className="text-base text-gray-500 mb-8"> <p className="text-base text-gray-500 mb-8">
Tap items you already own. We'll add them to your collection. Tap items you already own. We'll add them to your collection.

View File

@@ -66,9 +66,7 @@ export function SelectableItemCard({
{/* Info */} {/* Info */}
<div className="p-3"> <div className="p-3">
{brand && ( {brand && <div className="text-xs text-gray-400 truncate">{brand}</div>}
<div className="text-xs text-gray-400 truncate">{brand}</div>
)}
<div className="text-sm text-gray-900 font-medium truncate"> <div className="text-sm text-gray-900 font-medium truncate">
{model} {model}
</div> </div>