Skip to content

A continuation of HomeBox the inventory and organization system built for the Home User

Adding new currency (#243)

Seriosad20e4e39b6d
diff --git a/frontend/lib/data/currency.ts b/frontend/lib/data/currency.ts
index 54d2b2d1..e49ec09d 100644
--- a/frontend/lib/data/currency.ts
+++ b/frontend/lib/data/currency.ts
@@ -1,4 +1,4 @@
-export type Codes = "USD" | "EUR" | "GBP" | "JPY" | "ZAR" | "AUD" | "NOK" | "SEK" | "DKK" | "INR" | "RMB";
+export type Codes = "USD" | "EUR" | "GBP" | "JPY" | "ZAR" | "AUD" | "NOK" | "SEK" | "DKK" | "INR" | "RMB" | "BGN";
export type Currency = {
code: Codes;
@@ -74,4 +74,10 @@ export const currencies: Currency[] = [
symbol: "$",
name: "US Dollar",
},
+ {
+ code: "BGN",
+ local: "bg-BG",
+ symbol: "lv",
+ name: "Bulgarian lev",
+ },
];