File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -1363,15 +1363,17 @@ export default function ControlPanel({
13631363 { layout . header && (
13641364 < div className = "flex justify-between items-center me-7" >
13651365 { header ( ) }
1366- < Button
1367- type = "primary"
1368- className = "text-base me-2 pe-6 ps-5 py-[18px] rounded-md"
1369- size = "default"
1370- icon = { < IconShareStroked /> }
1371- onClick = { ( ) => setModal ( MODAL . SHARE ) }
1372- >
1373- { t ( "share" ) }
1374- </ Button >
1366+ { window . name . split ( " " ) [ 0 ] !== "t" && (
1367+ < Button
1368+ type = "primary"
1369+ className = "text-base me-2 pe-6 ps-5 py-[18px] rounded-md"
1370+ size = "default"
1371+ icon = { < IconShareStroked /> }
1372+ onClick = { ( ) => setModal ( MODAL . SHARE ) }
1373+ >
1374+ { t ( "share" ) }
1375+ </ Button >
1376+ ) }
13751377 </ div >
13761378 ) }
13771379 { layout . toolbar && toolbar ( ) }
You can’t perform that action at this time.
0 commit comments