Skip to content

Commit 5763094

Browse files
committed
feat: remove share changes
Signed-off-by: Amit Amrutiya <[email protected]>
1 parent 3a06536 commit 5763094

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

src/custom/ShareModal/ShareModal.tsx

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ const ShareModal: React.FC<ShareModalProps> = ({
167167
handleShare,
168168
hostURL = null,
169169
handleCopy,
170+
170171
isVisibilitySelectorDisabled = false,
171172
fetchSuggestions
172173
}: ShareModalProps): JSX.Element => {
@@ -220,6 +221,7 @@ const ShareModal: React.FC<ShareModalProps> = ({
220221
setOption(selectedResource?.visibility);
221222
}
222223
}, [selectedResource]);
224+
223225
return (
224226
<div style={{ marginBottom: '1rem' }}>
225227
<Modal
@@ -255,14 +257,12 @@ const ShareModal: React.FC<ShareModalProps> = ({
255257
<PublicIcon
256258
width={24}
257259
height={24}
258-
fill={theme.palette.icon.default}
259260
stroke={theme.palette.mode === 'dark' ? WHITE : BLACK}
260261
/>
261262
) : (
262263
<LockIcon
263264
width={24}
264265
height={24}
265-
fill={theme.palette.icon.default}
266266
stroke={theme.palette.mode === 'dark' ? WHITE : BLACK}
267267
/>
268268
)}
@@ -289,13 +289,7 @@ const ShareModal: React.FC<ShareModalProps> = ({
289289
</MenuItem>
290290
))}
291291
</CustomSelect>
292-
<Typography
293-
sx={{
294-
color: theme.palette.text.secondary
295-
}}
296-
component="span"
297-
variant="body2"
298-
>
292+
<Typography component="span" variant="body2">
299293
{selectedOption === SHARE_MODE.PRIVATE ? options.PRIVATE : options.PUBLIC}
300294
</Typography>
301295
</div>

0 commit comments

Comments
 (0)