Merge pull request #9714 from overleaf/ae-storybook

Fix errors in Storybook stories

GitOrigin-RevId: 54ff960f0a40e63eac69afa8727faaabb1289493
This commit is contained in:
Alf Eaton 2022-09-22 19:24:33 +01:00 committed by Copybot
parent 135ec8db8f
commit 67c5b2a2a1
2 changed files with 8 additions and 1 deletions

View file

@ -47,6 +47,7 @@ export default {
argTypes: {
handleHide: { action: 'close modal' },
openProject: { action: 'open project' },
handleAfterCloned: { action: 'after cloned' },
},
decorators: [ScopeDecorator],
}

View file

@ -140,7 +140,13 @@ export default {
show: true,
animation: false,
user: {},
project,
project: {
...project,
owner: {
...project.owner,
_id: window.user.id,
},
},
},
argTypes: {
handleHide: { action: 'hide' },