Skip to content

Commit 7f5771c

Browse files
committed
Merge branch 'main' into features/pg-notification-system
2 parents 590f9c5 + b859abd commit 7f5771c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

apps/webapp/.storybook/preview.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { Preview } from "@storybook/react";
22
import "../app/tailwind.css";
3-
import { unstable_createRemixStub } from "@remix-run/testing";
3+
import { createRemixStub } from "@remix-run/testing";
44
import React from "react";
55
import { LocaleContextProvider } from "../app/components/primitives/LocaleProvider";
66
import { OperatingSystemContextProvider } from "../app/components/primitives/OperatingSystemProvider";
@@ -26,10 +26,10 @@ const preview: Preview = {
2626
},
2727
decorators: [
2828
(Story) => {
29-
const RemixStub = unstable_createRemixStub([
29+
const RemixStub = createRemixStub([
3030
{
3131
path: "/*",
32-
element: <Story />,
32+
Component: Story,
3333
},
3434
]);
3535

0 commit comments

Comments
 (0)