Skip to content

Commit

Permalink
feat(union-component): use success message from server
Browse files Browse the repository at this point in the history
  • Loading branch information
orlando committed Feb 16, 2021
1 parent 958d480 commit 6cd124b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/union-component/src/MembershipWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,7 @@ const MembershipWidget: React.FC<Props> = ({ id, className }) => {
{machineState === 'success' && (
<DonationThankYou>
<p className="px-6 mt-4 mb-0 text-sm text-center">
{machineContext.api.donation?.message}. Go to{' '}
<a className="underline text-primary" href="https://debtcollective.org/hub">
your member hub
</a>{' '}
to continue the process
{machineContext.api.donation?.message}
</p>
</DonationThankYou>
)}
Expand Down

0 comments on commit 6cd124b

Please sign in to comment.