diff --git a/package.json b/package.json
index 0289f01520..39930d96ff 100644
--- a/package.json
+++ b/package.json
@@ -7,7 +7,7 @@
],
"scripts": {
"postinstall": "husky install",
- "precommit": "lint-staged --allow-empty",
+ "precommit": "yarn workspaces foreach -pv run prettier:write lint-staged --allow-empty",
"prepush": "yarn workspaces foreach -pv run test:eslint",
"build": "yarn workspaces foreach -ptvR --from ketcher-react-app run build",
"build:demo": "yarn workspaces foreach -ptvR --from demo run build",
@@ -39,5 +39,10 @@
"resolutions": {
"react-error-overlay": "6.0.9"
},
+ "husky": {
+ "hooks": {
+ "pre-commit": "yarn workspaces foreach -pv run prettier:write lint-staged --allow-empty"
+ }
+ },
"packageManager": "yarn@3.1.0"
}
diff --git a/packages/ketcher-react/src/script/ui/views/modal/components/process/Miew/Miew.tsx b/packages/ketcher-react/src/script/ui/views/modal/components/process/Miew/Miew.tsx
index 0afbe44869..37d69d04f4 100644
--- a/packages/ketcher-react/src/script/ui/views/modal/components/process/Miew/Miew.tsx
+++ b/packages/ketcher-react/src/script/ui/views/modal/components/process/Miew/Miew.tsx
@@ -155,12 +155,14 @@ const MiewDialog = ({
]}
footerContent={