Skip to content

Commit c9c017f

Browse files
committed
Fix storybook
1 parent f2c6ab6 commit c9c017f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

site/src/pages/TemplatePage/TemplateVersionsPage/VersionsTable.stories.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ import type { Meta, StoryObj } from "@storybook/react";
1313
const meta: Meta<typeof VersionsTable> = {
1414
title: "pages/TemplatePage/VersionsTable",
1515
component: VersionsTable,
16+
args: {
17+
onPromoteClick: () => {},
18+
onArchiveClick: () => {},
19+
},
1620
};
1721

1822
export default meta;

site/src/pages/UsersPage/ResetPasswordDialog.stories.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ const Example: Story = {
1616
open: true,
1717
user: MockUser,
1818
newPassword: "somerandomstringhere",
19+
onConfirm: () => {},
20+
onClose: () => {},
1921
},
2022
};
2123

0 commit comments

Comments
 (0)