Skip to content

Commit

Permalink
Update to Prettier v1.10.x
Browse files Browse the repository at this point in the history
Running `yarn format` after updating results in changes to Mailto and
Sms components as a result of prettier/prettier#3313 being shipped in
Prettier v1.9.
  • Loading branch information
macklinu committed Jan 24, 2018
1 parent 5c9a2dc commit 657ed48
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"husky": "^0.14.3",
"jest": "^20.0.4",
"lint-staged": "^5.0.0",
"prettier": "^1.8.2",
"prettier": "^1.10.2",
"react": "^15.6.1",
"react-dom": "^15.6.1",
"react-test-renderer": "^15.6.1",
Expand Down
2 changes: 1 addition & 1 deletion src/Mailto.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const Mailto: React.SFC<MailtoProps> = ({
bcc,
body,
children,
...props,
...props
}) => {
return (
<a
Expand Down
2 changes: 1 addition & 1 deletion src/Sms.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const Sms: React.SFC<SmsProps> = ({
phone,
body,
children,
...props,
...props
}) => {
return (
<a
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2342,9 +2342,9 @@ preserve@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b"

prettier@^1.8.2:
version "1.8.2"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.8.2.tgz#bff83e7fd573933c607875e5ba3abbdffb96aeb8"
prettier@^1.10.2:
version "1.10.2"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.10.2.tgz#1af8356d1842276a99a5b5529c82dd9e9ad3cc93"

pretty-format@^20.0.3:
version "20.0.3"
Expand Down

0 comments on commit 657ed48

Please sign in to comment.