Remove unused isProjectOwner prop from ShareProjectModal

GitOrigin-RevId: e2f16694958172ad0ad3643c07a99daf1d0afe09
This commit is contained in:
M Fahru 2022-07-08 02:28:37 -04:00 committed by Copybot
parent 73a894b666
commit d84ba96ecb

View file

@ -77,7 +77,6 @@ describe('<ShareProjectModal/>', function () {
const modalProps = {
show: true,
isProjectOwner: true,
handleHide: sinon.stub(),
}
@ -192,7 +191,7 @@ describe('<ShareProjectModal/>', function () {
},
}}
>
<ShareProjectModal {...modalProps} isProjectOwner />
<ShareProjectModal {...modalProps} />
</EditorProviders>
)
@ -210,7 +209,7 @@ describe('<ShareProjectModal/>', function () {
},
}}
>
<ShareProjectModal {...modalProps} isProjectOwner={false} />
<ShareProjectModal {...modalProps} />
</EditorProviders>
)
@ -235,7 +234,7 @@ describe('<ShareProjectModal/>', function () {
},
}}
>
<ShareProjectModal {...modalProps} isProjectOwner={false} />
<ShareProjectModal {...modalProps} />
</EditorProviders>
)