From 97ea719bf909b042bb7433745f84d06210f479d5 Mon Sep 17 00:00:00 2001 From: Drikus Roor Date: Fri, 28 Jun 2024 14:51:37 +0200 Subject: [PATCH] fix(story): Fix stories by using "block" instead of "experiment" --- frontend/src/stories/Consent.stories.jsx | 4 ++-- frontend/src/stories/Final.stories.jsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/stories/Consent.stories.jsx b/frontend/src/stories/Consent.stories.jsx index e912ef3cb..d34f437c0 100644 --- a/frontend/src/stories/Consent.stories.jsx +++ b/frontend/src/stories/Consent.stories.jsx @@ -8,7 +8,7 @@ const defaultArgs = { }, confirm: "Confirm", deny: "Deny", - experiment: { + block: { slug: "experiment-slug", }, }; @@ -33,7 +33,7 @@ export const Default = { }, confirm: "Confirm", deny: "Deny", - experiment: { + block: { slug: "experiment-slug", }, }, diff --git a/frontend/src/stories/Final.stories.jsx b/frontend/src/stories/Final.stories.jsx index ab859ae19..7645b1cc3 100644 --- a/frontend/src/stories/Final.stories.jsx +++ b/frontend/src/stories/Final.stories.jsx @@ -48,7 +48,7 @@ function getFinalData(overrides = {}) { contact_body: '

Please contact us at ', }, - experiment: { + block: { slug: "test", }, participant: "test", @@ -103,4 +103,4 @@ export const NoButtonLink = { }, }), decorators: [getDecorator], -}; \ No newline at end of file +};