diff --git a/packages/dapp/src/components/custom/Pricing.tsx b/packages/dapp/src/components/custom/Pricing.tsx index 0cfe20a0..b04021c1 100644 --- a/packages/dapp/src/components/custom/Pricing.tsx +++ b/packages/dapp/src/components/custom/Pricing.tsx @@ -15,7 +15,7 @@ import { FormControl, FormErrorMessage, FormLabel, - Input, + Input } from "@chakra-ui/react"; import { useState } from "react"; import { useFormContext } from "react-hook-form"; @@ -31,11 +31,11 @@ function PriceWrapper(props: any) { const { children } = props; const { style, children: inputChild, ...input } = getInputProps(); - const checkbox = getCheckboxProps(); + const { style: checkboxDefaultStyle, ...checkbox} = getCheckboxProps(); return ( - + { @@ -8,11 +8,11 @@ const CheckboxCard = (props: any) => { const { children } = props; const { style, children: inputChild, ...input } = getInputProps(); - const checkbox = getCheckboxProps(); + const { style: checkboxDefaultStyle, ...checkbox} = getCheckboxProps(); const label = getLabelProps(); return ( - + {state.isChecked ? (