Skip to content

Commit

Permalink
clear Checks error
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Rb3 committed Apr 8, 2024
1 parent 8a0911c commit 73384dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions apps/potlock/widget/ModalDonation/Form.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ const { AmountInput } = VM.require(`potlock.near/widget/ModalDonation.AmountInpu
AmountInput: () => {},
};
const { Checks } = VM.require(`potlock.near/widget/ModalDonation.Checks`) || {
CheckBox: () => {},
Checks: () => {},
};
const { Nadabot, Alert } = VM.require(`potlock.near/widget/ModalDonation.Banners`) || {
CheckBox: () => {},
Nadabot: () => {},
Alert: () => {},
};

const PotSDK = VM.require("potlock.near/widget/SDK.pot") || {
Expand Down
4 changes: 2 additions & 2 deletions apps/potlock/widget/ModalDonation/FormPot.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const { ownerId, NADABOT_HUMAN_METHOD } = VM.require("potlock.near/widget/consta
const { nearToUsd } = VM.require("potlock.near/widget/utils");

const { Checks } = VM.require(`potlock.near/widget/ModalDonation.Checks`) || {
CheckBox: () => {},
Checks: () => {},
};

const { AmountInput } = VM.require(`potlock.near/widget/ModalDonation.AmountInput`) || {
Expand All @@ -18,7 +18,7 @@ const { _address } = VM.require(`potlock.near/widget/Components.DonorsUtils`) ||
};

const { Alert } = VM.require(`potlock.near/widget/ModalDonation.Banners`) || {
CheckBox: () => {},
Alert: () => {},
};

const Form = styled.div`
Expand Down

0 comments on commit 73384dc

Please sign in to comment.