diff options
Diffstat (limited to 'packages/anastasis-webui/src/pages/home/TruthsPayingScreen.stories.tsx')
-rw-r--r-- | packages/anastasis-webui/src/pages/home/TruthsPayingScreen.stories.tsx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/anastasis-webui/src/pages/home/TruthsPayingScreen.stories.tsx b/packages/anastasis-webui/src/pages/home/TruthsPayingScreen.stories.tsx index 40ed5117c..dafb4bc58 100644 --- a/packages/anastasis-webui/src/pages/home/TruthsPayingScreen.stories.tsx +++ b/packages/anastasis-webui/src/pages/home/TruthsPayingScreen.stories.tsx @@ -20,8 +20,9 @@ */ import { ReducerState } from "@gnu-taler/anastasis-core"; -import { createExample, reducerStatesExample } from "../../utils/index.js"; +import { reducerStatesExample } from "../../utils/index.js"; import { TruthsPayingScreen as TestedComponent } from "./TruthsPayingScreen.js"; +import { tests } from "@gnu-taler/web-util/lib/index.browser"; export default { title: "Truths Paying", @@ -35,11 +36,12 @@ export default { }, }; -export const Example = createExample( +export const Example = tests.createExample( TestedComponent, + {}, reducerStatesExample.truthsPaying, ); -export const WithPaytoList = createExample(TestedComponent, { +export const WithPaytoList = tests.createExample(TestedComponent, {}, { ...reducerStatesExample.truthsPaying, payments: ["payto://x-taler-bank/bank/account"], } as ReducerState); |