feat(converter): change default currency: USD to BTC

This commit is contained in:
2026-03-12 19:40:44 +01:00
parent aa24c1d4c6
commit 91b1f1a993
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ import { Hero } from "@/components/sections/hero";
import { InsightsSection } from "@/components/sections/insights-section"; import { InsightsSection } from "@/components/sections/insights-section";
const DEFAULT_FROM = "USD"; const DEFAULT_FROM = "USD";
const DEFAULT_TO = "EUR"; const DEFAULT_TO = "BTC";
export default function HomePage() { export default function HomePage() {
const [selectedFromCode, setSelectedFromCode] = useState(DEFAULT_FROM); const [selectedFromCode, setSelectedFromCode] = useState(DEFAULT_FROM);

View File

@@ -49,7 +49,7 @@ import { cn } from "@/lib/utils";
import { validateAmount } from "@/lib/validation"; import { validateAmount } from "@/lib/validation";
const DEFAULT_FROM = "USD"; const DEFAULT_FROM = "USD";
const DEFAULT_TO = "EUR"; const DEFAULT_TO = "BTC";
const QUICK_AMOUNTS = [10, 50, 100, 500, 1000] as const; const QUICK_AMOUNTS = [10, 50, 100, 500, 1000] as const;
const DEFAULT_MULTI_CONVERSION_CODES = ["USD", "EUR", "BTC", "ETH", "SOL"] as const; const DEFAULT_MULTI_CONVERSION_CODES = ["USD", "EUR", "BTC", "ETH", "SOL"] as const;
const MAX_MULTI_CONVERSIONS = 4; const MAX_MULTI_CONVERSIONS = 4;