aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/src/wallet/History.stories.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/History.stories.tsx')
-rw-r--r--packages/taler-wallet-webextension/src/wallet/History.stories.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/History.stories.tsx b/packages/taler-wallet-webextension/src/wallet/History.stories.tsx
index 335d5ea9c..e37711b8a 100644
--- a/packages/taler-wallet-webextension/src/wallet/History.stories.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/History.stories.tsx
@@ -51,9 +51,9 @@ const commonTransaction = (): TransactionCommon =>
amountEffective: "USD:9",
pending: false,
timestamp: TalerProtocolTimestamp.fromSeconds(
- new Date().getTime() - count++ * 60 * 60 * 7,
+ new Date().getTime() / 1000 - count++ * 60 * 60 * 7,
),
- transactionId: "12",
+ transactionId: String(count),
} as TransactionCommon);
const exampleData = {
@@ -145,6 +145,7 @@ const exampleData = {
pull_debit: {
...commonTransaction(),
type: TransactionType.PeerPullDebit,
+
exchangeBaseUrl: "https://exchange.taler.net",
} as TransactionPeerPullDebit,
};