fix(storybook): remove the storybook params causing render errors
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -7,12 +7,6 @@ const meta = {
|
||||
component: Header,
|
||||
parameters: {
|
||||
chromatic: { diffThreshold: 0.75 },
|
||||
nextjs: {
|
||||
appDirectory: true,
|
||||
navigation: {
|
||||
searchParams: {},
|
||||
},
|
||||
},
|
||||
},
|
||||
} satisfies Meta<typeof Header>;
|
||||
|
||||
|
||||
@@ -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>;
|
||||
|
||||
|
||||
@@ -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>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user