- Create frontend/app/utils/exchange.ts with shared formatting functions - Update exchange/page.tsx to use shared formatEur - Update trades/page.tsx to use shared formatEur and getTradeStatusDisplay - Update admin/trades/page.tsx to use shared formatEur and getTradeStatusDisplay - SatsDisplay was already extracted (confirmed it's in components/SatsDisplay.tsx) |
||
|---|---|---|
| .. | ||
| admin | ||
| components | ||
| exchange | ||
| generated | ||
| hooks | ||
| invites | ||
| login | ||
| profile | ||
| signup | ||
| styles | ||
| trades | ||
| utils | ||
| api.ts | ||
| auth-context.tsx | ||
| config.ts | ||
| layout.tsx | ||
| page.tsx | ||