Skip to content

Commit

Permalink
Checkout: Add notice to give user feedback while sites/user refetch
Browse files Browse the repository at this point in the history
  • Loading branch information
drewblaisdell committed Feb 2, 2017
1 parent 1811bbe commit 1d6543d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/my-sites/upgrades/checkout/checkout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,12 @@ const Checkout = React.createClass( {
}

if ( cart.create_new_blog ) {
notices.info(
this.translate( 'Almost done…' )
);

const domainName = cartItems.getDomainRegistrations( cart )[ 0 ].meta;

fetchSitesAndUser( domainName, () => {
page( redirectPath );
} );
Expand Down

0 comments on commit 1d6543d

Please sign in to comment.