File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 >
You can’t perform that action at this time.
0 commit comments