Update prettier

This commit is contained in:
Jenni Nurmi 2019-08-26 10:39:27 +03:00
parent 6186480a94
commit 72d98a5912
3 changed files with 6 additions and 8 deletions

View file

@ -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"

View file

@ -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 };

View file

@ -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"