migrate exchange rates store to composition API and typescript

This commit is contained in:
MaysWind
2025-01-05 23:15:45 +08:00
parent 5b241d2547
commit ad1eec7d47
28 changed files with 182 additions and 163 deletions
+1 -1
View File
@@ -94,7 +94,7 @@
import { mapStores } from 'pinia';
import { useSettingsStore } from '@/stores/setting.ts';
import { useUserStore } from '@/stores/user.ts';
import { useExchangeRatesStore } from '@/stores/exchangeRates.js';
import { useExchangeRatesStore } from '@/stores/exchangeRates.ts';
import { TRANSACTION_MIN_AMOUNT, TRANSACTION_MAX_AMOUNT } from '@/consts/transaction.ts';
import { getConvertedAmount } from '@/lib/numeral.ts';