Skip to content

Commit

Permalink
fix(story): Fix stories by using "block" instead of "experiment"
Browse files Browse the repository at this point in the history
  • Loading branch information
drikusroor committed Jun 28, 2024
1 parent 45e5a58 commit 97ea719
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frontend/src/stories/Consent.stories.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const defaultArgs = {
},
confirm: "Confirm",
deny: "Deny",
experiment: {
block: {
slug: "experiment-slug",
},
};
Expand All @@ -33,7 +33,7 @@ export const Default = {
},
confirm: "Confirm",
deny: "Deny",
experiment: {
block: {
slug: "experiment-slug",
},
},
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/stories/Final.stories.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function getFinalData(overrides = {}) {
contact_body:
'<p>Please contact us at <a href="mailto:info@example.com">',
},
experiment: {
block: {
slug: "test",
},
participant: "test",
Expand Down Expand Up @@ -103,4 +103,4 @@ export const NoButtonLink = {
},
}),
decorators: [getDecorator],
};
};

0 comments on commit 97ea719

Please sign in to comment.