Skip to content

Commit

Permalink
feat(inscriptioN): use link instead of a
Browse files Browse the repository at this point in the history
  • Loading branch information
Daryl-L committed Aug 27, 2024
1 parent 0c05562 commit e4ee059
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/pages/Address/Inscription.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import classNames from 'classnames'
import styles from './inscription.module.scss'
import { Link } from '../../components/Link'

const Inscription = ({
href,
Expand All @@ -8,12 +9,12 @@ const Inscription = ({
content,
}: {
content: Record<string, string>
href?: string
href: string
mintingStatus?: string
udtLabel: string
}) => {
return (
<a href={href} className={styles.container}>
<Link to={href} className={styles.container}>
<h5>
<span className="monospace">{udtLabel}</span>
<span className="monospace">{mintingStatus}</span>
Expand All @@ -28,7 +29,7 @@ const Inscription = ({
))}
{'}'}
</div>
</a>
</Link>
)
}

Expand Down

0 comments on commit e4ee059

Please sign in to comment.