Skip to content

Commit

Permalink
Merge branch 'develop' into token-api
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith-CY committed Jan 16, 2024
2 parents 3562e3a + 48d790d commit acec240
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions src/components/Header/MenusComp/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Link } from 'react-router-dom'
import { FC, memo } from 'react'
import { FC, memo, PropsWithChildren } from 'react'
import { useTranslation } from 'react-i18next'
import { Dropdown } from 'antd'
import classNames from 'classnames'
Expand Down Expand Up @@ -47,13 +47,13 @@ const useMenuDataList = () => {
name: t('navbar.inscription'),
url: '/inscriptions',
},
{
type: LinkType.Inner,
name: t('navbar.nft_collections'),
url: '/nft-collections',
},
],
},
{
type: LinkType.Inner,
name: t('navbar.nft_collections'),
url: '/nft-collections',
},
{
type: LinkType.Inner,
name: t('navbar.charts'),
Expand All @@ -75,7 +75,7 @@ const useMenuDataList = () => {
return list
}

const SubmenuDropdown: FC<{ menu: MenuData }> = ({ children, menu }) => {
const SubmenuDropdown: FC<PropsWithChildren<{ menu: MenuData }>> = ({ children, menu }) => {
return (
<Dropdown
overlay={
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Tokens/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const TokenItem = ({ token, isLast }: { token: UDT | OmigaInscriptionCollection;
localeNumberString(token.addressesCount)
)

const isKnown = (Boolean(name) && token.published) || isOmigaInscriptionCollection(token)
const isKnown = (Boolean(name || symbol) && token.published) || isOmigaInscriptionCollection(token)

return (
<TokensTableItem>
Expand Down

0 comments on commit acec240

Please sign in to comment.