Skip to content

Commit

Permalink
feat(app): low quality icon
Browse files Browse the repository at this point in the history
  • Loading branch information
kingsleydon committed Oct 8, 2023
1 parent 41812a2 commit 955eaaa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions apps/app/components/BasePool/Identity.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import {type Account} from '@/lib/subsquidQuery'
import {chainAtom} from '@/store/common'
import ErrorOutline from '@mui/icons-material/ErrorOutline'
import RemoveCircleOutline from '@mui/icons-material/RemoveCircleOutline'
import VerifiedOutlined from '@mui/icons-material/VerifiedOutlined'
import {alpha, Link, Stack, Tooltip, Typography, useTheme} from '@mui/material'
Expand All @@ -17,6 +18,7 @@ const Identity: FC<
const verified =
identityLevel === 'KnownGood' || identityLevel === 'Reasonable'

const lowQuality = identityLevel === 'LowQuality'
const link = (
<Link
variant={detail ? 'h6' : 'caption'}
Expand Down Expand Up @@ -69,6 +71,11 @@ const Identity: FC<
color="success"
sx={{width: detail ? 22 : 16, flexShrink: 0}}
/>
) : lowQuality ? (
<ErrorOutline
color="error"
sx={{width: detail ? 22 : 16, flexShrink: 0}}
/>
) : (
<RemoveCircleOutline
color="disabled"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const LargeAmountWarning: FC<AlertProps> = ({sx, ...props}) => {
<Typography variant="body2" component="span">
Please use{' '}
<Link
href="https://subbridge-p970182hu-phala.vercel.app/"
href="https://subbridge-293nhwvpk-phala.vercel.app/"
target="_blank"
>
<b>the old version</b>
Expand Down

0 comments on commit 955eaaa

Please sign in to comment.