Skip to content

Commit

Permalink
fix: Change Nomis link (#486)
Browse files Browse the repository at this point in the history
  • Loading branch information
alainncls authored Dec 20, 2023
1 parent 2931a87 commit ceb17eb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion website/src/pages/Poh.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,17 @@ export const Poh: FunctionComponent<PohProps> = ({ title }) => {
return name === "Testnet Voyage NFT" ? "Testnet Voyage NFT original recipient" : name;
};

const getLink = (link: string) => {
return link === "https://nomis.cc/linea" ? "https://nomis.cc/linea-voyage" : link;
};

const displayPohGroup = (pohGroup?: IssuerAttestation[]) => {
return (
<>
{pohGroup?.map((poh) => (
<div key={poh.issuerSlugName} className="card">
{poh.issuerWebsiteUrl !== "" ? (
<Link to={poh.issuerWebsiteUrl} target={"_blank"}>
<Link to={getLink(poh.issuerWebsiteUrl)} target={"_blank"}>
{displayName(poh.issuerName)}
</Link>
) : (
Expand Down

0 comments on commit ceb17eb

Please sign in to comment.