mirror of
https://github.com/dat515-2025/Group-8.git
synced 2026-03-22 23:20:56 +01:00
fix(frontend): fixed dashboard error
This commit is contained in:
@@ -21,17 +21,6 @@ type RateData = {
|
||||
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
|
||||
const TARGET_CURRENCIES = ['EUR', 'USD', 'NOK'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user