mirror of
https://github.com/overleaf/overleaf.git
synced 2025-03-20 21:52:41 +00:00
Remove unused isProjectOwner prop from ShareProjectModal
GitOrigin-RevId: e2f16694958172ad0ad3643c07a99daf1d0afe09
This commit is contained in:
parent
73a894b666
commit
d84ba96ecb
1 changed files with 3 additions and 4 deletions
|
@ -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>
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue