summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/src/wallet/DepositPage/stories.tsx
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-11-02 17:42:14 +0100
committerFlorian Dold <florian@dold.me>2022-11-02 18:23:17 +0100
commitd50294f76e0aa357d690a933bb6d696a2f6aef1b (patch)
treeabe961337c5df1614b5095bce6c5b09e761cda2c /packages/taler-wallet-webextension/src/wallet/DepositPage/stories.tsx
parent6c3ef31d9a7ba44829e779afed0af9be3ab23723 (diff)
downloadwallet-core-d50294f76e0aa357d690a933bb6d696a2f6aef1b.tar.gz
wallet-core-d50294f76e0aa357d690a933bb6d696a2f6aef1b.tar.bz2
wallet-core-d50294f76e0aa357d690a933bb6d696a2f6aef1b.zip
wallet-core: DB FIXMEs (amount format)
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/DepositPage/stories.tsx')
-rw-r--r--packages/taler-wallet-webextension/src/wallet/DepositPage/stories.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/DepositPage/stories.tsx b/packages/taler-wallet-webextension/src/wallet/DepositPage/stories.tsx
index 64b2c91a7..af9c620cb 100644
--- a/packages/taler-wallet-webextension/src/wallet/DepositPage/stories.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/DepositPage/stories.tsx
@@ -76,7 +76,7 @@ export const WithNoAccountForIBAN = createExample(ReadyView, {
return;
},
},
- totalFee: Amounts.getZero("USD"),
+ totalFee: Amounts.zeroOfCurrency("USD"),
totalToDeposit: Amounts.parseOrThrow("USD:10"),
// onCalculateFee: alwaysReturnFeeToOne,
});
@@ -111,7 +111,7 @@ export const WithIBANAccountTypeSelected = createExample(ReadyView, {
return;
},
},
- totalFee: Amounts.getZero("USD"),
+ totalFee: Amounts.zeroOfCurrency("USD"),
totalToDeposit: Amounts.parseOrThrow("USD:10"),
// onCalculateFee: alwaysReturnFeeToOne,
});
@@ -146,7 +146,7 @@ export const NewBitcoinAccountTypeSelected = createExample(ReadyView, {
return;
},
},
- totalFee: Amounts.getZero("USD"),
+ totalFee: Amounts.zeroOfCurrency("USD"),
totalToDeposit: Amounts.parseOrThrow("USD:10"),
// onCalculateFee: alwaysReturnFeeToOne,
});