provide donation address via env
This commit is contained in:
@@ -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=
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user