From 73384dc71a3fe54c44010545ef5c8ed4d77ef07f Mon Sep 17 00:00:00 2001 From: M-RB3 Date: Tue, 9 Apr 2024 02:48:31 +0400 Subject: [PATCH] clear Checks error --- apps/potlock/widget/ModalDonation/Form.jsx | 5 +++-- apps/potlock/widget/ModalDonation/FormPot.jsx | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/apps/potlock/widget/ModalDonation/Form.jsx b/apps/potlock/widget/ModalDonation/Form.jsx index 9e1131f5..4f6b8492 100644 --- a/apps/potlock/widget/ModalDonation/Form.jsx +++ b/apps/potlock/widget/ModalDonation/Form.jsx @@ -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") || { diff --git a/apps/potlock/widget/ModalDonation/FormPot.jsx b/apps/potlock/widget/ModalDonation/FormPot.jsx index af379560..0ad12974 100644 --- a/apps/potlock/widget/ModalDonation/FormPot.jsx +++ b/apps/potlock/widget/ModalDonation/FormPot.jsx @@ -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`) || { @@ -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`