Skip to content

chore: Remove dead onboarding-flow.tsx and role-card.tsx — no longer imported #74

Description

@JamesVictor-O

Problem

Two onboarding components are no longer imported anywhere in the codebase:

  • `components/onboarding/onboarding-flow.tsx` — the old modal-based onboarding (replaced by `onboarding-wizard-modal.tsx`)
  • `components/onboarding/role-card.tsx` — the old ``-based role card (the wizard modal has inline role buttons now)

Verified via grep — zero imports of either file outside themselves.


What to Remove

```
apps/frontend/components/onboarding/onboarding-flow.tsx ← delete
apps/frontend/components/onboarding/role-card.tsx ← delete
```

What to Keep

  • `onboarding-wizard-modal.tsx` — the active modal
  • `onboarding-modal-context.tsx` — the active context
  • `business-form.tsx` / `creator-form.tsx` — used by the modal
  • `step-indicator.tsx` — used by the modal
  • `stellar-wallet-button.tsx` — standalone component, used in onboarding forms

Acceptance Criteria

  • Both files deleted
  • `npx tsc --noEmit` compiles clean
  • `pnpm --filter frontend build` succeeds
  • Onboarding wizard modal still functions correctly

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official CampaignenhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions