diff --git a/src/components/CollectionShare.tsx b/src/components/CollectionShare.tsx
index 1390e7f51..bc2dce5dc 100644
--- a/src/components/CollectionShare.tsx
+++ b/src/components/CollectionShare.tsx
@@ -18,7 +18,7 @@ import SubmitButton from './SubmitButton';
import MessageDialog from './MessageDialog';
import { Collection } from 'types/collection';
import { appendCollectionKeyToShareURL } from 'utils/collection';
-import { Row, Value } from './Container';
+import { FlexWrapper } from './Container';
import { CodeBlock } from './CodeBlock';
import { ButtonVariant, getVariantColor } from './pages/gallery/LinkButton';
import { handleSharingErrors } from 'utils/error';
@@ -138,7 +138,7 @@ function CollectionShare(props: Props) {
content: constants.DISABLE_PUBLIC_SHARING_MESSAGE,
close: { text: constants.CANCEL },
proceed: {
- text: constants.DELETE,
+ text: constants.DISABLE,
action: disablePublicSharingHelper,
variant: ButtonVariant.danger,
},
@@ -240,41 +240,7 @@ function CollectionShare(props: Props) {
)}
-
{constants.SHAREES}
@@ -290,12 +256,48 @@ function CollectionShare(props: Props) { > - )} - {props.collection.sharees?.length === 0 && !publicShareUrl && ( + ) : (