From ba2436e834e3a4a4b8141159e5ee565672fd23c3 Mon Sep 17 00:00:00 2001 From: Jono Mingard Date: Mon, 12 Jun 2023 11:10:53 +1200 Subject: [PATCH] Fixed type errors in storybook --- .../src/admin-x-ds/settings/SettingGroup.stories.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ghost/admin-x-settings/src/admin-x-ds/settings/SettingGroup.stories.tsx b/ghost/admin-x-settings/src/admin-x-ds/settings/SettingGroup.stories.tsx index 41a5f6cc1c..de0829c417 100644 --- a/ghost/admin-x-settings/src/admin-x-ds/settings/SettingGroup.stories.tsx +++ b/ghost/admin-x-settings/src/admin-x-ds/settings/SettingGroup.stories.tsx @@ -47,7 +47,7 @@ export const TwoColumns: Story = { export const Editing: Story = { args: { - state: 'edit', + isEditing: true, title: SingleColumn.args?.title, description: SingleColumn.args?.description, children: twoColEdit @@ -56,7 +56,8 @@ export const Editing: Story = { export const Unsaved: Story = { args: { - state: 'unsaved', + isEditing: true, + saveState: 'unsaved', title: SingleColumn.args?.title, description: SingleColumn.args?.description, children: twoColEdit @@ -85,4 +86,4 @@ export const NoBorders: Story = { description: SingleColumn.args?.description, children: twoColView } -}; \ No newline at end of file +};