Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

fix(storybook): remove the storybook params causing render errors

Gabe Kangas7246912cc4d3
diff --git a/web/components/layouts/Main/Main.stories.tsx b/web/components/layouts/Main/Main.stories.tsx
index 9c63c2b854..99da1e7861 100644
--- a/web/components/layouts/Main/Main.stories.tsx
+++ b/web/components/layouts/Main/Main.stories.tsx
@@ -32,15 +32,6 @@ import { exampleChatHistory } from '../../../interfaces/chat-message.fixture';
const meta = {
title: 'owncast/Layout/Main',
- parameters: {
- layout: 'fullscreen',
- nextjs: {
- appDirectory: true,
- navigation: {
- searchParams: {},
- },
- },
- },
} satisfies Meta<typeof Main>;
export default meta;
diff --git a/web/components/ui/Footer/Footer.stories.tsx b/web/components/ui/Footer/Footer.stories.tsx
index 46b6ea4c43..efd186b84f 100644
--- a/web/components/ui/Footer/Footer.stories.tsx
+++ b/web/components/ui/Footer/Footer.stories.tsx
@@ -5,14 +5,6 @@ import { Footer } from './Footer';
const meta = {
title: 'owncast/Layout/Footer',
component: Footer,
- parameters: {
- nextjs: {
- appDirectory: true,
- navigation: {
- searchParams: {},
- },
- },
- },
} satisfies Meta<typeof Footer>;
export default meta;
diff --git a/web/components/ui/Header/Header.stories.tsx b/web/components/ui/Header/Header.stories.tsx
index 9cccf8326a..45b0519e14 100644
--- a/web/components/ui/Header/Header.stories.tsx
+++ b/web/components/ui/Header/Header.stories.tsx
@@ -7,12 +7,6 @@ const meta = {
component: Header,
parameters: {
chromatic: { diffThreshold: 0.75 },
- nextjs: {
- appDirectory: true,
- navigation: {
- searchParams: {},
- },
- },
},
} satisfies Meta<typeof Header>;
diff --git a/web/components/ui/NotifyReminderPopup/NotifyReminderPopup.stories.tsx b/web/components/ui/NotifyReminderPopup/NotifyReminderPopup.stories.tsx
index 7763bdb858..6d99fc3552 100644
--- a/web/components/ui/NotifyReminderPopup/NotifyReminderPopup.stories.tsx
+++ b/web/components/ui/NotifyReminderPopup/NotifyReminderPopup.stories.tsx
@@ -25,12 +25,6 @@ const meta = {
Clicking it will make the notification modal display. Clicking the "X" will hide the modal and make it never show again.`,
},
},
- nextjs: {
- appDirectory: true,
- navigation: {
- searchParams: {},
- },
- },
},
} satisfies Meta<typeof NotifyReminderPopup>;
diff --git a/web/components/ui/OfflineBanner/OfflineBanner.stories.tsx b/web/components/ui/OfflineBanner/OfflineBanner.stories.tsx
index 662e85be66..1b1b73ab5a 100644
--- a/web/components/ui/OfflineBanner/OfflineBanner.stories.tsx
+++ b/web/components/ui/OfflineBanner/OfflineBanner.stories.tsx
@@ -17,12 +17,6 @@ const meta = {
component: `When the stream is offline the player should be replaced by this banner that can support custom text and notify actions.`,
},
},
- nextjs: {
- appDirectory: true,
- navigation: {
- searchParams: {},
- },
- },
},
} satisfies Meta<typeof OfflineBanner>;