diff --git a/frontend/src/layout/navigation-3000/sidepanel/SidePanel.stories.tsx b/frontend/src/layout/navigation-3000/sidepanel/SidePanel.stories.tsx index f7d7bdc8a9479..9c03a98d5763f 100644 --- a/frontend/src/layout/navigation-3000/sidepanel/SidePanel.stories.tsx +++ b/frontend/src/layout/navigation-3000/sidepanel/SidePanel.stories.tsx @@ -6,7 +6,7 @@ import { useEffect } from 'react' import { App } from 'scenes/App' import { urls } from 'scenes/urls' -import { setFeatureFlags } from '~/mocks/browser' +import { mswDecorator, setFeatureFlags } from '~/mocks/browser' import { SidePanelTab } from '~/types' import { sidePanelStateLogic } from './sidePanelStateLogic' @@ -18,6 +18,14 @@ const meta: Meta = { viewMode: 'story', mockDate: '2023-07-04', // To stabilize relative dates }, + decorators: [ + mswDecorator({ + get: { + '/api/projects/:team_id/dashboard_templates/': {}, + '/api/projects/:id/integrations': { results: [] }, + }, + }), + ], } export default meta