Skip to content

Commit

Permalink
Merge pull request #63 from martillansky/style/prettifyId
Browse files Browse the repository at this point in the history
prettifyId for HumanityId when registering profile
  • Loading branch information
martillansky authored Aug 27, 2024
2 parents ee31c5d + 32e1a92 commit 0c8c8bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/[pohid]/claim/Review.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import Image from "next/image";
import Previewed from "components/Previewed";
import DocumentIcon from "icons/NoteMajor.svg";
import { ContractData } from "data/contract";
import { prettifyId } from "utils/identifier";

interface ReviewProps {
arbitrationInfo: ContractData["arbitrationInfo"];
Expand Down Expand Up @@ -109,7 +110,7 @@ function Review({
</div>

<div className="w-full flex flex-col">
<Field label="Proof of Humanity ID" value={pohId} disabled />
<Field label="Proof of Humanity ID" value={prettifyId(pohId)} disabled />
<Field label="Name" value={name} disabled />
<Field label="Account" value={address} disabled />

Expand Down

0 comments on commit 0c8c8bd

Please sign in to comment.