Skip to content

Commit

Permalink
fix: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith-CY committed Oct 1, 2024
1 parent a32d70b commit 1a7013e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/pages/Address/Cells.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import SUDTTokenIcon from '../../assets/sudt_token.png'
import CKBTokenIcon from './ckb_token_icon.png'
import { ReactComponent as TypeHashIcon } from './type_script.svg'
import { ReactComponent as DataIcon } from './data.svg'
import { ReactComponent as SporeCluterIcon } from './spore_cluster.svg'
import { ReactComponent as SporeClusterIcon } from './spore_cluster.svg'
import { ReactComponent as SporeCellIcon } from './spore_cell.svg'
import { ReactComponent as SortIcon } from '../../assets/sort_icon.svg'
import { ReactComponent as TimeDownIcon } from '../../assets/time_down.svg'
Expand Down Expand Up @@ -182,7 +182,7 @@ const getCellDetails = (cell: LiveCell, t: TFunction) => {
break
}
case 'spore_cluster': {
icon = <SporeCluterIcon />
icon = <SporeClusterIcon />
assetName = 'Spore Cluster'
assetTypeText = 'NFT'
if (cell.data.length > ATTRIBUTE_LENGTH) {
Expand Down
4 changes: 2 additions & 2 deletions src/pages/Address/InvalidRGBPPAssetList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import CKBTokenIcon from './ckb_token_icon.png'
import { ReactComponent as CopyIcon } from './copy.svg'
import { ReactComponent as TypeHashIcon } from './type_script.svg'
import { ReactComponent as DataIcon } from './data.svg'
import { ReactComponent as SporeCluterIcon } from './spore_cluster.svg'
import { ReactComponent as SporeClusterIcon } from './spore_cluster.svg'
import { ReactComponent as SporeCellIcon } from './spore_cell.svg'
import SmallLoading from '../../components/Loading/SmallLoading'
import { parseUDTAmount } from '../../utils/number'
Expand Down Expand Up @@ -140,7 +140,7 @@ const getCellDetails = (cell: LiveCell, t: TFunction) => {
break
}
case 'spore_cluster': {
icon = <SporeCluterIcon />
icon = <SporeClusterIcon />
assetName = 'Spore Cluster'
if (cell.data.length > ATTRIBUTE_LENGTH) {
attribute = `${cell.data.slice(0, ATTRIBUTE_LENGTH)}...`
Expand Down
4 changes: 2 additions & 2 deletions src/pages/Address/RgbppAssets.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import CKBTokenIcon from './ckb_token_icon.png'
import { ReactComponent as CopyIcon } from './copy.svg'
import { ReactComponent as TypeHashIcon } from './type_script.svg'
import { ReactComponent as DataIcon } from './data.svg'
import { ReactComponent as SporeCluterIcon } from './spore_cluster.svg'
import { ReactComponent as SporeClusterIcon } from './spore_cluster.svg'
import { ReactComponent as SporeCellIcon } from './spore_cell.svg'
import { ReactComponent as RedirectIcon } from '../../assets/redirect-icon.svg'
import { ReactComponent as AlertIcon } from '../../assets/alert-icon.svg'
Expand Down Expand Up @@ -177,7 +177,7 @@ const getCellDetails = (cell: LiveCell, t: TFunction) => {
break
}
case 'spore_cluster': {
icon = <SporeCluterIcon />
icon = <SporeClusterIcon />
assetName = 'Spore Cluster'
if (cell.data.length > ATTRIBUTE_LENGTH) {
attribute = `${cell.data.slice(0, ATTRIBUTE_LENGTH)}...`
Expand Down

0 comments on commit 1a7013e

Please sign in to comment.