diff --git a/src/editor/components/modals/PaymentModal/PaymentModal.component.jsx b/src/editor/components/modals/PaymentModal/PaymentModal.component.jsx index 126b92ebf..bc5838de1 100644 --- a/src/editor/components/modals/PaymentModal/PaymentModal.component.jsx +++ b/src/editor/components/modals/PaymentModal/PaymentModal.component.jsx @@ -22,11 +22,6 @@ const PaymentModal = ({ isOpen, onClose }) => { const { currentUser } = useAuthContext(); const [isLoading, setIsLoading] = useState(false); - const isSucess = window.location.hash.includes('/success'); - if (isSucess) { - STREET.notify.successMessage('Thank you for subscribing!'); - } - const startCheckout = async () => { setIsLoading(true); try { @@ -90,7 +85,9 @@ const PaymentModal = ({ isOpen, onClose }) => { {currentUser ? (
{currentUser.isPro ? ( - +
  • +

    🎉 Congrats! Thank you for your subscription.

    +
  • ) : (
    {isLoading ? (