File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -167,6 +167,7 @@ const ShareModal: React.FC<ShareModalProps> = ({
167
167
handleShare,
168
168
hostURL = null ,
169
169
handleCopy,
170
+
170
171
isVisibilitySelectorDisabled = false ,
171
172
fetchSuggestions
172
173
} : ShareModalProps ) : JSX . Element => {
@@ -220,6 +221,7 @@ const ShareModal: React.FC<ShareModalProps> = ({
220
221
setOption ( selectedResource ?. visibility ) ;
221
222
}
222
223
} , [ selectedResource ] ) ;
224
+
223
225
return (
224
226
< div style = { { marginBottom : '1rem' } } >
225
227
< Modal
@@ -255,14 +257,12 @@ const ShareModal: React.FC<ShareModalProps> = ({
255
257
< PublicIcon
256
258
width = { 24 }
257
259
height = { 24 }
258
- fill = { theme . palette . icon . default }
259
260
stroke = { theme . palette . mode === 'dark' ? WHITE : BLACK }
260
261
/>
261
262
) : (
262
263
< LockIcon
263
264
width = { 24 }
264
265
height = { 24 }
265
- fill = { theme . palette . icon . default }
266
266
stroke = { theme . palette . mode === 'dark' ? WHITE : BLACK }
267
267
/>
268
268
) }
@@ -289,13 +289,7 @@ const ShareModal: React.FC<ShareModalProps> = ({
289
289
</ MenuItem >
290
290
) ) }
291
291
</ 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" >
299
293
{ selectedOption === SHARE_MODE . PRIVATE ? options . PRIVATE : options . PUBLIC }
300
294
</ Typography >
301
295
</ div >
You can’t perform that action at this time.
0 commit comments