Skip to content

Commit

Permalink
fix: remove redundant link icon (#11853)
Browse files Browse the repository at this point in the history
  • Loading branch information
swkatmask authored Oct 12, 2024
1 parent fb8c8f6 commit 8d038b7
Showing 1 changed file with 2 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useCallback, useEffect, useMemo, useRef, useState } from 'react'
import { useUpdateEffect } from 'react-use'
import { compact, first } from 'lodash-es'
import { TabContext } from '@mui/lab'
import { Link, Button, Stack, Tab, ThemeProvider, Typography } from '@mui/material'
import { Button, Stack, Tab, ThemeProvider, Typography } from '@mui/material'
import { Icons } from '@masknet/icons'
import { useQuery } from '@tanstack/react-query'
import { Telemetry } from '@masknet/web3-telemetry'
Expand Down Expand Up @@ -76,14 +76,6 @@ const useStyles = makeStyles()((theme) => ({
fontSize: 18,
fontWeight: 700,
},
settingLink: {
cursor: 'pointer',
marginTop: 4,
zIndex: 0,
'&:hover': {
textDecoration: 'none',
},
},
content: {
position: 'relative',
},
Expand All @@ -107,9 +99,6 @@ const useStyles = makeStyles()((theme) => ({
gearIcon: {
color: theme.palette.maskColor.dark,
},
linkOutIcon: {
color: theme.palette.maskColor.secondaryDark,
},
currentAddress: {
fontSize: '18px',
fontWeight: 700,
Expand Down Expand Up @@ -515,14 +504,7 @@ function Content(props: ProfileTabContentProps) {
sx={{ cursor: 'pointer' }}
/>
</ConnectPersonaBoundary>
: <Link
className={classes.settingLink}
href="https://mask.io"
target="_blank"
rel="noopener noreferrer">
<Icons.LinkOut className={classes.linkOutIcon} size={20} />
</Link>
}
: null}
</div>
</div>
<div className={classes.tabs}>
Expand Down

0 comments on commit 8d038b7

Please sign in to comment.