You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a currency toggle that lets users switch between USD, EUR, GBP, and NGN for all price displays across the platform. All work goes in frontend/sandbox/.
Acceptance Criteria
Component at frontend/sandbox/components/CurrencyToggle.tsx
Dropdown selector in the header: USD, EUR, GBP, NGN
Selected currency stored in Zustand store and persisted in localStorage
All price components read from the store and convert using mock exchange rates
Overview
Add a currency toggle that lets users switch between USD, EUR, GBP, and NGN for all price displays across the platform. All work goes in
frontend/sandbox/.Acceptance Criteria
frontend/sandbox/components/CurrencyToggle.tsxuseCurrency()hook exposescurrency,convert(amount: number),format(amount: number)frontend/sandbox/page.tsxshows prices in all four currencies