provide donation address via env

This commit is contained in:
apoorvlathey
2023-09-22 00:16:50 +05:30
parent 9370343f95
commit c0101added
3 changed files with 4 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
REACT_APP_INFURA_KEY=
REACT_APP_WC_PROJECT_ID=
REACT_APP_GITCOIN_GRANTS_ACTIVE=
REACT_APP_GITCOIN_GRANTS_LINK=
REACT_APP_GITCOIN_GRANTS_LINK=
REACT_APP_DONATION_ADDRESS=

1
.nvmrc Normal file
View File

@@ -0,0 +1 @@
v18.16.1

View File

@@ -64,7 +64,7 @@ function Footer() {
const handleDonate = async (value: string) => {
try {
await sendTransaction({
to: "0x63A556c75443b176b5A4078e929e38bEb37a1ff2",
to: process.env.REACT_APP_DONATION_ADDRESS!,
value: parseEther(value),
});
launchConfetti();