diff --git a/package.json b/package.json index 78eb8167..2ccb5fe4 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "enzyme-to-json": "^3.3.5", "inquirer": "^6.5.0", "nodemon": "^1.17.2", - "prettier": "^1.15.3" + "prettier": "^1.18.2" }, "resolutions": { "react-test-renderer": "^16.8.6" diff --git a/src/containers/PaymentMethodsPage/PaymentMethodsPage.js b/src/containers/PaymentMethodsPage/PaymentMethodsPage.js index 2c9e3386..4f50334c 100644 --- a/src/containers/PaymentMethodsPage/PaymentMethodsPage.js +++ b/src/containers/PaymentMethodsPage/PaymentMethodsPage.js @@ -133,9 +133,7 @@ const PaymentMethodsPageComponent = props => { // Get first and last name of the current user and use it in the StripePaymentForm to autofill the name field const userName = currentUserLoaded - ? `${ensuredCurrentUser.attributes.profile.firstName} ${ - ensuredCurrentUser.attributes.profile.lastName - }` + ? `${ensuredCurrentUser.attributes.profile.firstName} ${ensuredCurrentUser.attributes.profile.lastName}` : null; const initalValuesForStripePayment = { name: userName }; diff --git a/yarn.lock b/yarn.lock index 9221c4ca..b9c9c3a8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8774,10 +8774,10 @@ prepend-http@^1.0.1: resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc" integrity sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw= -prettier@^1.15.3: - version "1.17.0" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.17.0.tgz#53b303676eed22cc14a9f0cec09b477b3026c008" - integrity sha512-sXe5lSt2WQlCbydGETgfm1YBShgOX4HxQkFPvbxkcwgDvGDeqVau8h+12+lmSVlP3rHPz0oavfddSZg/q+Szjw== +prettier@^1.18.2: + version "1.18.2" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.18.2.tgz#6823e7c5900017b4bd3acf46fe9ac4b4d7bda9ea" + integrity sha512-OeHeMc0JhFE9idD4ZdtNibzY0+TPHSpSSb9h8FqtP+YnoZZ1sl8Vc9b1sasjfymH3SonAF4QcA2+mzHPhMvIiw== pretty-bytes@^5.1.0: version "5.3.0"