One shared `ConnectPrompt` component for the duplicated "connect your wallet" cards

Aperta
#164 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Joycejay17 ci sta già lavorando.

Dal 22/11/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

difficulty: beginner good first issue help wanted refactor Stellar Wave web

Difficulty: Beginner

Problem

The Dashboard, Create, History and Withdraw pages each contain their own copy of the "Connect your wallet" card with the same button and spinner logic.

Why it matters

Four copies drift apart and make wording or accessibility changes four times as expensive.

Scope of work

Create a ConnectPrompt component (title and message as props) and replace the four copies without changing the visible result.

Expected outcome

A single component renders all connect prompts.

Acceptance criteria

  • The four pages use the component with unchanged appearance.
  • Lint and build pass.

Relevant files

  • web/app/dashboard/page.tsx, web/app/create/page.tsx, web/app/history/page.tsx, web/app/withdraw/page.tsx, web/components/ (new)

Dependencies

Several open PRs edit these pages; rebase as needed.

Maintainer discussion needed?

No.

Lingua principale
TypeScript
Stelle
0
Fork
4
Merge medio
54m
PR unite (30g)
6

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Yormee-103/PayLoop

Tutte le issue di Yormee-103/PayLoop

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.