Skip to content

Commit 25854f6

Browse files
committed
Fix storybook test
Signed-off-by: Michael Edgar <medgar@redhat.com>
1 parent 5a486d8 commit 25854f6

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

ui/.storybook/main.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,6 @@ const config: StorybookConfig = {
3535
new TsconfigPathsPlugin(),
3636
];
3737

38-
// This is a workaround to a bug in storybook that prevents storybook v10.x.x working with Next.js v14.x.x
39-
// See: https://github.com/storybookjs/storybook/issues/32950
40-
//
41-
// This can be removed when we upgrade to Next.js v15.0.0+ or if storybook releases a fix in a newer
42-
// version.
43-
config.resolve.alias = {
44-
...(config.resolve.alias || {}),
45-
'next/dist/server/request/draft-mode': false,
46-
};
47-
4838
return config;
4939
}
5040
};

ui/components/Navigation/ButtonLink.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const meta: Meta<typeof ButtonLink> = {
66
component: ButtonLink,
77
args: {
88
children: "Click Me",
9-
href: "/",
9+
href: "#",
1010
},
1111
argTypes: {
1212
variant: {

0 commit comments

Comments
 (0)