diff --git a/src/components/organisms/AssetContent/Pricing/Feedback.tsx b/src/components/organisms/AssetContent/Pricing/Feedback.tsx index b2c07f0d3..ebbbb90a8 100644 --- a/src/components/organisms/AssetContent/Pricing/Feedback.tsx +++ b/src/components/organisms/AssetContent/Pricing/Feedback.tsx @@ -2,6 +2,7 @@ import Loader from '../../../atoms/Loader' import SuccessConfetti from '../../../atoms/SuccessConfetti' import React, { ReactElement } from 'react' import styles from './Feedback.module.css' +import Button from '../../../atoms/Button' export default function Feedback({ success, @@ -10,10 +11,21 @@ export default function Feedback({ success: string pricingStepText: string }): ReactElement { + const SuccessAction = () => ( + + ) + return (
{success ? ( - + } /> ) : ( )} diff --git a/src/components/organisms/AssetContent/Pricing/index.tsx b/src/components/organisms/AssetContent/Pricing/index.tsx index 4cb16589b..523aff99e 100644 --- a/src/components/organisms/AssetContent/Pricing/index.tsx +++ b/src/components/organisms/AssetContent/Pricing/index.tsx @@ -84,7 +84,9 @@ export default function Pricing({ ddo }: { ddo: DDO }): ReactElement { } // Pricing succeeded - setSuccess(`🎉 Successfully created a ${values.type} price. 🎉 `) + setSuccess( + `🎉 Successfully created a ${values.type} price. 🎉 Reload the page to get all updates.` + ) Logger.log(`Transaction: ${tx}`) } catch (error) { toast.error(error.message)