diff --git a/src/components/atoms/SuccessConfetti.tsx b/src/components/atoms/SuccessConfetti.tsx index 25d8f7052..4bd47c285 100644 --- a/src/components/atoms/SuccessConfetti.tsx +++ b/src/components/atoms/SuccessConfetti.tsx @@ -28,7 +28,7 @@ export default function SuccessConfetti({ action }: { success: string - action: ReactNode + action?: ReactNode }): ReactElement { // Have some confetti upon success useEffect(() => { diff --git a/src/components/organisms/AssetContent/FormPricing/index.tsx b/src/components/organisms/AssetContent/FormPricing/index.tsx index d1dee6f77..c58d0f2cb 100644 --- a/src/components/organisms/AssetContent/FormPricing/index.tsx +++ b/src/components/organisms/AssetContent/FormPricing/index.tsx @@ -52,7 +52,7 @@ export default function FormPricing({ const content = data.content.edges[0].node.childContentJson.create // Connect with form - const { values, setFieldValue } = useFormikContext() + const { values, setFieldValue, submitForm } = useFormikContext() const { price, weightOnDataToken, type } = values as PriceOptionsMarket // Switch type value upon tab change @@ -87,7 +87,7 @@ export default function FormPricing({ />
-