fix(frontend): fixed dashboard error

This commit is contained in:
ribardej
2025-11-11 16:30:34 +01:00
parent 25e587cea8
commit 2e1dddb4f8

View File

@@ -21,17 +21,6 @@ type RateData = {
rate: number; rate: number;
}; };
// The part of the API response structure we need
type UnirateApiResponse = {
base: string;
rates: { [key: string]: number };
// We'll also check for error formats just in case
message?: string;
error?: {
info: string;
};
};
// The currencies you want to display // The currencies you want to display
const TARGET_CURRENCIES = ['EUR', 'USD', 'NOK']; const TARGET_CURRENCIES = ['EUR', 'USD', 'NOK'];