remove unused isProjectOwner prop on ShareProjectModal stoybook component'

GitOrigin-RevId: 1c7346e306a394d2193a10dcdf116eda98a3e628
This commit is contained in:
M Fahru 2022-07-08 08:26:24 -04:00 committed by Copybot
parent 045a1523d9
commit 08792ce66d

View file

@ -54,7 +54,7 @@ export const NonProjectOwnerLinkSharingOff = args => {
}, },
}) })
return <ShareProjectModal {...args} isProjectOwner={false} /> return <ShareProjectModal {...args} />
} }
export const NonProjectOwnerLinkSharingOn = args => { export const NonProjectOwnerLinkSharingOn = args => {
@ -65,7 +65,7 @@ export const NonProjectOwnerLinkSharingOn = args => {
}, },
}) })
return <ShareProjectModal {...args} isProjectOwner={false} /> return <ShareProjectModal {...args} />
} }
export const RestrictedTokenMember = args => { export const RestrictedTokenMember = args => {
@ -139,7 +139,6 @@ export default {
args: { args: {
show: true, show: true,
animation: false, animation: false,
isProjectOwner: true,
user: {}, user: {},
project, project,
}, },