refactor!: support RUB only (WealthLedger/main#55) (#168)
This commit was merged in pull request #168.
This commit is contained in:
@@ -2,7 +2,7 @@ import type { Portfolio } from "../api/usePortfolio";
|
||||
|
||||
const PERCENT_SCALE = 100;
|
||||
|
||||
type Money = Portfolio["totalsByCurrency"][number];
|
||||
type Money = Portfolio["totals"];
|
||||
|
||||
function formatShare(
|
||||
numerator: Money | null,
|
||||
|
||||
Reference in New Issue
Block a user