Skip to content

Commit

Permalink
Merge branch 'staging' of https://github.com/PotLock/potlock-nextjs-app
Browse files Browse the repository at this point in the history
… into 73-donation-transaction-hashes
  • Loading branch information
carina-akaia committed Jul 2, 2024
2 parents ca2ac05 + c875245 commit c8e76f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/donation/components/buttons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ import { useDonation } from "../hooks/feature";
export const DonationRandomButton = () => {
const {
isLoading: isRandomPGRegistryEntryLoading,
data: isRandomPGRegistryEntry,
data: randomPGRegistryEntry,
mutate: refetchRandomPGRegistryEntry,
} = potlock.useRandomListRegistration({
listId: POTLOCK_REGISTRY_LIST_ID,
status: "Approved",
});

const randomProjectAccountId = isRandomPGRegistryEntry?.registrant.id;
const randomProjectAccountId = randomPGRegistryEntry?.registrant.id;

const { openDonationModal: openRandomDonationModal } = useDonation({
accountId: randomProjectAccountId ?? "unknown",
Expand Down

0 comments on commit c8e76f7

Please sign in to comment.