Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
guanbinrui committed Nov 15, 2024
1 parent 52bf86d commit b50adb6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 45 deletions.
2 changes: 1 addition & 1 deletion packages/mask/popups/modals/ConnectProvider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { makeStyles, usePopupCustomSnackbar } from '@masknet/theme'
import { useNetworkContext, useProviderDescriptor, useWeb3State } from '@masknet/web3-hooks-base'
import { PopupModalRoutes, type NetworkPluginID, PopupRoutes } from '@masknet/shared-base'
import { EVMWeb3 } from '@masknet/web3-providers'
import { ChainId, ProviderType } from '@masknet/web3-shared-evm'
import { type ProviderType } from '@masknet/web3-shared-evm'
import { ActionModal, type ActionModalBaseProps, useModalNavigate } from '../../components/index.js'
import { Trans } from '@lingui/macro'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { useChainContext, useFungibleTokenBalance, useNetworkContext, useWallet
import { Lens } from '@masknet/web3-providers'
import { FollowModuleType, type LensBaseAPI } from '@masknet/web3-providers/types'
import { ZERO, formatBalance, isLessThan, isSameAddress } from '@masknet/web3-shared-base'
import { ChainId, ProviderType, createERC20Token, formatAmount } from '@masknet/web3-shared-evm'
import { ChainId, createERC20Token, formatAmount } from '@masknet/web3-shared-evm'
import { Avatar, Box, Button, CircularProgress, DialogContent, Typography, buttonClasses } from '@mui/material'
import { useQuery } from '@tanstack/react-query'
import { first } from 'lodash-es'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,49 +76,6 @@ const useStyles = makeStyles()((theme) => {
background: theme.palette.maskColor.bg,
},
},
dialogTitle: {
fontSize: 18,
fontWeight: 700,
color: theme.palette.maskColor.main,
textAlign: 'center',
},
dialogCloseButton: {
color: theme.palette.text.primary,
padding: 0,
width: 24,
height: 24,
'& > svg': {
fontSize: 24,
},
},
list: {
display: 'grid',
gridTemplateColumns: 'repeat(2, 1fr)',
gridGap: '12px 12px',
},
listItem: {
padding: theme.spacing(1.5),
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
justifyContent: 'center',
rowGap: 12,
borderRadius: 12,
},
listItemText: {
fontSize: 12,
fontWeight: 700,
color: theme.palette.maskColor.main,
},
dialogPaper: {
margin: 0,
maxWidth: 400,
background: theme.palette.maskColor.bottom,
boxShadow:
theme.palette.mode === 'dark' ?
'0px 0px 20px rgba(255, 255, 255, 0.12)'
: '0px 0px 20px rgba(0, 0, 0, 0.05)',
},
}
})

Expand Down

0 comments on commit b50adb6

Please sign in to comment.