From 8024a5bd71000dba99bccf7d45cec08134914fc6 Mon Sep 17 00:00:00 2001 From: Berkeley Martinez Date: Mon, 26 Oct 2015 18:00:33 -0700 Subject: [PATCH] Clear discount on transition --- common/app/routes/Jobs/components/GoToPayPal.jsx | 4 ++-- common/app/routes/Jobs/components/Preview.jsx | 8 ++++++++ common/app/routes/Jobs/flux/Actions.js | 10 ++++++++++ common/app/routes/Jobs/flux/Store.js | 4 +++- 4 files changed, 23 insertions(+), 3 deletions(-) diff --git a/common/app/routes/Jobs/components/GoToPayPal.jsx b/common/app/routes/Jobs/components/GoToPayPal.jsx index 5f0453cb92..c50b52df92 100644 --- a/common/app/routes/Jobs/components/GoToPayPal.jsx +++ b/common/app/routes/Jobs/components/GoToPayPal.jsx @@ -188,11 +188,11 @@ export default contain( -

+{ price }

+

+ { price }

- { this.renderDiscount(discountAmount) } { this.renderHighlightPrice(isHighlighted) } + { this.renderDiscount(discountAmount) }