Skip to content

Commit 65f5b59

Browse files
Revert "hide attestation (#3690)"
This reverts commit 8cab127.
1 parent 8cab127 commit 65f5b59

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

packages/grant-explorer/src/features/contributors/components/RoundDonations/TransactionHeader.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { getTxBlockExplorerLink } from "common";
55
import { truncateAddress } from "../../utils/address";
66
import { MintingActionButton } from "../Buttons";
77
import { Contribution, MintingAttestationIdsData } from "data-layer";
8-
import { useDebugMode } from "../../../api/utils";
98

109
interface AttestationData {
1110
attestation?: MintingAttestationIdsData;
@@ -31,7 +30,6 @@ export function TransactionHeader({
3130
transactionHash
3231
);
3332
const parcialTransactionHash = truncateAddress(transactionHash, 5);
34-
const debugModeEnabled = useDebugMode();
3533

3634
return (
3735
<div className="bg-grey-75 rounded-lg gap-2 p-4 flex flex-col sm:flex-row items-center justify-between">
@@ -45,13 +43,11 @@ export function TransactionHeader({
4543
<ArrowTopRightOnSquareIcon className="size-4 text-black" />
4644
</a>
4745
</span>
48-
{debugModeEnabled &&
4946
<MintingActionButton
5047
transaction={{ hash: transactionHash, chainId: transactionChainId }}
5148
contributions={contributions}
5249
attestationData={{ attestation, isFetchingAttestations, refetch }}
5350
/>
54-
}
5551
</div>
5652
);
5753
}

packages/grant-explorer/src/features/round/ThankYou.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ import { AttestationChainId } from "../attestations/utils/constants";
3030
import { ethers } from "ethers";
3131
import { useAttestationFee } from "../contributors/hooks/useMintingAttestations";
3232
import { useAttestationStore } from "../../attestationStore";
33-
import { useDebugMode } from "../api/utils";
3433

3534
export default function ThankYou() {
3635
datadogLogs.logger.info(
@@ -216,7 +215,6 @@ export default function ThankYou() {
216215
: project.round,
217216
})),
218217
};
219-
const debugModeEnabled = useDebugMode();
220218

221219
return (
222220
<>
@@ -239,7 +237,6 @@ export default function ThankYou() {
239237
</div>
240238

241239
{/* Right Section */}
242-
{debugModeEnabled &&
243240
<div className="w-full my-[5%] lg:w-1/2 ">
244241
<div className="flex flex-col items-center justify-center">
245242
{/* Main content */}
@@ -264,7 +261,6 @@ export default function ThankYou() {
264261
</div>
265262
</div>
266263
</div>
267-
}
268264
</div>
269265
) : minted ? (
270266
<div className="flex flex-col items-center justify-center max-w-screen-2xl text-center">

0 commit comments

Comments
 (0)