Skip to content

Commit

Permalink
fix: add missing handler for sitepage story
Browse files Browse the repository at this point in the history
  • Loading branch information
karrui committed Jul 19, 2024
1 parent 4a191cd commit 9fe2959
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/studio/src/stories/Page/SitePage.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { Meta, StoryObj } from "@storybook/react"
import { meHandlers } from "tests/msw/handlers/me"

import SitePage from "~/pages/sites/[siteId]"

Expand All @@ -7,6 +8,9 @@ const meta: Meta<typeof SitePage> = {
component: SitePage,
parameters: {
getLayout: SitePage.getLayout,
msw: {
handlers: [meHandlers.me()],
},
},
decorators: [],
}
Expand Down

0 comments on commit 9fe2959

Please sign in to comment.