Skip to content

Commit

Permalink
Increase the amount of ETH sent slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
af-afk committed Dec 13, 2024
1 parent 4d45655 commit 4cdc7f9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ on:
branches:
- main
paths:
- docs/**
- src/**
- pkg/**
- README.md

jobs:
Expand Down
1 change: 1 addition & 0 deletions pkg/Donation.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
IDonationAdmin,
IDonationView} from "./IDonation.sol";

// Donation contract to receive ETH donations to send to charities.
contract Donation is IDonation {
uint256 constant private MIN_DONATION = 0;

Expand Down
4 changes: 2 additions & 2 deletions web/src/components/donationLevel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function DonationLevel() {
const donationClicks = useUserStore((s) => s.donationClicks);
const donationQueue = useUserStore((s) => s.donationQueue);
const curr = donationQueue[0];
const totalDonation = donationClicks * 0.0005;
const totalDonation = donationClicks * 0.001;

useEffect(() => {
if (curr?.id && account) {
Expand All @@ -40,7 +40,7 @@ export default function DonationLevel() {
{item.status === "error" ? (
<div className="size-5">✖️</div>
) : null}
{item.donation * 0.0005}
{item.donation * 0.001}
<Image
src={
item.status === "loading"
Expand Down
2 changes: 1 addition & 1 deletion web/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const config = {
web3: {
all: true,
donation: {
clickUnit: 0.0005,
clickUnit: 0.001,
debounceTime: 800,
},
},
Expand Down

0 comments on commit 4cdc7f9

Please sign in to comment.