summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/src/wallet/Notifications/stories.tsx
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-05-26 13:52:00 +0200
committerFlorian Dold <florian@dold.me>2023-05-26 13:52:00 +0200
commit96d9ea3840626f71efe38018b75748d8338565fa (patch)
treed1f04ecbb58750af79b3d0cb0420ba4fdf6d05a2 /packages/taler-wallet-webextension/src/wallet/Notifications/stories.tsx
parentcd8f76db61f4a1ab1a8a8a4d29b2f3e863b59854 (diff)
downloadwallet-core-96d9ea3840626f71efe38018b75748d8338565fa.tar.gz
wallet-core-96d9ea3840626f71efe38018b75748d8338565fa.tar.bz2
wallet-core-96d9ea3840626f71efe38018b75748d8338565fa.zip
taler-util,wallet-core: make AbsoluteTime opaque
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/Notifications/stories.tsx')
-rw-r--r--packages/taler-wallet-webextension/src/wallet/Notifications/stories.tsx7
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/Notifications/stories.tsx b/packages/taler-wallet-webextension/src/wallet/Notifications/stories.tsx
index 54f601c42..7344f417c 100644
--- a/packages/taler-wallet-webextension/src/wallet/Notifications/stories.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/Notifications/stories.tsx
@@ -22,6 +22,7 @@
import {
AbsoluteTime,
AttentionType,
+ TalerPreciseTimestamp,
TransactionIdStr,
} from "@gnu-taler/taler-util";
import * as tests from "@gnu-taler/web-util/testing";
@@ -34,7 +35,7 @@ export default {
export const Ready = tests.createExample(ReadyView, {
list: [
{
- when: AbsoluteTime.now(),
+ when: TalerPreciseTimestamp.now(),
read: false,
info: {
type: AttentionType.KycWithdrawal,
@@ -42,7 +43,7 @@ export const Ready = tests.createExample(ReadyView, {
},
},
{
- when: AbsoluteTime.now(),
+ when: TalerPreciseTimestamp.now(),
read: false,
info: {
type: AttentionType.MerchantRefund,
@@ -50,7 +51,7 @@ export const Ready = tests.createExample(ReadyView, {
},
},
{
- when: AbsoluteTime.now(),
+ when: TalerPreciseTimestamp.now(),
read: false,
info: {
type: AttentionType.BackupUnpaid,