File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed
packages/grant-explorer/src/features
contributors/components/RoundDonations Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import { getTxBlockExplorerLink } from "common";
5
5
import { truncateAddress } from "../../utils/address" ;
6
6
import { MintingActionButton } from "../Buttons" ;
7
7
import { Contribution , MintingAttestationIdsData } from "data-layer" ;
8
- import { useDebugMode } from "../../../api/utils" ;
9
8
10
9
interface AttestationData {
11
10
attestation ?: MintingAttestationIdsData ;
@@ -31,7 +30,6 @@ export function TransactionHeader({
31
30
transactionHash
32
31
) ;
33
32
const parcialTransactionHash = truncateAddress ( transactionHash , 5 ) ;
34
- const debugModeEnabled = useDebugMode ( ) ;
35
33
36
34
return (
37
35
< 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({
45
43
< ArrowTopRightOnSquareIcon className = "size-4 text-black" />
46
44
</ a >
47
45
</ span >
48
- { debugModeEnabled &&
49
46
< MintingActionButton
50
47
transaction = { { hash : transactionHash , chainId : transactionChainId } }
51
48
contributions = { contributions }
52
49
attestationData = { { attestation, isFetchingAttestations, refetch } }
53
50
/>
54
- }
55
51
</ div >
56
52
) ;
57
53
}
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ import { AttestationChainId } from "../attestations/utils/constants";
30
30
import { ethers } from "ethers" ;
31
31
import { useAttestationFee } from "../contributors/hooks/useMintingAttestations" ;
32
32
import { useAttestationStore } from "../../attestationStore" ;
33
- import { useDebugMode } from "../api/utils" ;
34
33
35
34
export default function ThankYou ( ) {
36
35
datadogLogs . logger . info (
@@ -216,7 +215,6 @@ export default function ThankYou() {
216
215
: project . round ,
217
216
} ) ) ,
218
217
} ;
219
- const debugModeEnabled = useDebugMode ( ) ;
220
218
221
219
return (
222
220
< >
@@ -239,7 +237,6 @@ export default function ThankYou() {
239
237
</ div >
240
238
241
239
{ /* Right Section */ }
242
- { debugModeEnabled &&
243
240
< div className = "w-full my-[5%] lg:w-1/2 " >
244
241
< div className = "flex flex-col items-center justify-center" >
245
242
{ /* Main content */ }
@@ -264,7 +261,6 @@ export default function ThankYou() {
264
261
</ div >
265
262
</ div >
266
263
</ div >
267
- }
268
264
</ div >
269
265
) : minted ? (
270
266
< div className = "flex flex-col items-center justify-center max-w-screen-2xl text-center" >
You can’t perform that action at this time.
0 commit comments