Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions schemas/historicalWinnerClaim.gql
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ query HistoricalWinnerClaim($humanityId: Bytes!, $lastStatusChange: BigInt!) {
evidenceGroup {
evidence(orderBy: creationTime, orderDirection: asc, first: 1) {
uri
creationTime
submitter
}
}
}
Expand Down
6 changes: 5 additions & 1 deletion src/app/[pohid]/(profile)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ async function Profile({ params }: PageProps) {
<h1 className="text-primaryText text-2xl font-semibold">POH ID</h1>
<p className="max-w-[calc(100vw-7rem)] break-all px-2 text-center text-sm leading-5 text-peach sm:max-w-none">
{displayId}
<CopyButton value={displayId} className="ml-1 align-middle" />
<CopyButton
value={displayId}
label="Copy POH ID"
className="ml-1 align-middle"
/>
</p>
</div>

Expand Down
4 changes: 2 additions & 2 deletions src/app/[pohid]/RevokeModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ export default function RevokeModal({
loading.stop();
toast.error("Revoke is not available right now.");
},
onError(error) {
onError(error, errorCtx) {
loading.stop();
toast.error(getWriteErrorMessage(error));
toast.error(getWriteErrorMessage(error, errorCtx));
},
onSuccess() {
applyAction("revoke", buildRevokeSuccessPatch());
Expand Down
Loading