feat(converter): change default currency: USD to BTC
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user