diff --git a/package.json b/package.json index f4b09898a1..ff4972bfca 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "lint-staged": "^11.0.0", "memory-fs": "^0.5.0", "npm-run-all": "^4.1.5", - "prettier": "^2.3.0", + "prettier": "^2.3.1", "prettier-config-smarthr": "^1.0.0", "puppeteer": "^9.1.1", "react": "^17.0.2", diff --git a/src/components/Dialog/Dialog.stories.tsx b/src/components/Dialog/Dialog.stories.tsx index a8114bf52d..abdd688522 100644 --- a/src/components/Dialog/Dialog.stories.tsx +++ b/src/components/Dialog/Dialog.stories.tsx @@ -160,11 +160,10 @@ Message_Dialog.parameters = { export const Action_Dialog: Story = () => { const [isOpen, setIsOpen] = useState(false) const [value, setValue] = React.useState('Apple') - const [responseMessage, setResponseMessage] = - useState<{ - status: 'success' | 'error' | 'processing' - text: string - }>() + const [responseMessage, setResponseMessage] = useState<{ + status: 'success' | 'error' | 'processing' + text: string + }>() const onClickOpen = () => setIsOpen(true) const onClickClose = () => { setIsOpen(false) diff --git a/yarn.lock b/yarn.lock index 861ca8daa3..3c88244818 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12583,10 +12583,10 @@ prettier-linter-helpers@^1.0.0: dependencies: fast-diff "^1.1.2" -prettier@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.0.tgz#b6a5bf1284026ae640f17f7ff5658a7567fc0d18" - integrity sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w== +prettier@^2.3.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.1.tgz#76903c3f8c4449bc9ac597acefa24dc5ad4cbea6" + integrity sha512-p+vNbgpLjif/+D+DwAZAbndtRrR0md0MwfmOVN9N+2RgyACMT+7tfaRnT+WDPkqnuVwleyuBIG2XBxKDme3hPA== prettier@~2.0.5: version "2.0.5"