mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Remove unused isProjectOwner prop from ShareProjectModal
GitOrigin-RevId: e2f16694958172ad0ad3643c07a99daf1d0afe09
This commit is contained in:
@@ -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>
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user