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:
@@ -5,7 +5,10 @@ interface OnboardingDoneProps {
|
||||
onFinish: () => void;
|
||||
}
|
||||
|
||||
export function OnboardingDone({ itemsCreated: _itemsCreated, onFinish }: OnboardingDoneProps) {
|
||||
export function OnboardingDone({
|
||||
itemsCreated: _itemsCreated,
|
||||
onFinish,
|
||||
}: OnboardingDoneProps) {
|
||||
return (
|
||||
<div className="flex flex-col items-center justify-center min-h-screen px-8">
|
||||
<div className="max-w-2xl text-center">
|
||||
|
||||
@@ -149,10 +149,7 @@ export function OnboardingFlow({ onComplete }: OnboardingFlowProps) {
|
||||
)}
|
||||
|
||||
{step === "done" && (
|
||||
<OnboardingDone
|
||||
itemsCreated={itemsCreated}
|
||||
onFinish={onComplete}
|
||||
/>
|
||||
<OnboardingDone itemsCreated={itemsCreated} onFinish={onComplete} />
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -27,9 +27,7 @@ export function OnboardingItemBrowser({
|
||||
<div className="max-w-5xl w-full text-center">
|
||||
<h1 className="text-3xl font-bold text-gray-900 mb-2">
|
||||
Popular gear for{" "}
|
||||
{selectedHobbies.length === 1
|
||||
? selectedHobbies[0]
|
||||
: "your hobbies"}
|
||||
{selectedHobbies.length === 1 ? selectedHobbies[0] : "your hobbies"}
|
||||
</h1>
|
||||
<p className="text-base text-gray-500 mb-8">
|
||||
Tap items you already own. We'll add them to your collection.
|
||||
|
||||
@@ -66,9 +66,7 @@ export function SelectableItemCard({
|
||||
|
||||
{/* Info */}
|
||||
<div className="p-3">
|
||||
{brand && (
|
||||
<div className="text-xs text-gray-400 truncate">{brand}</div>
|
||||
)}
|
||||
{brand && <div className="text-xs text-gray-400 truncate">{brand}</div>}
|
||||
<div className="text-sm text-gray-900 font-medium truncate">
|
||||
{model}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user