From dbf3ad93f1ec8d48c58e80896ca7d28a395ba16f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 19 Jan 2024 23:08:07 -0800 Subject: [PATCH] chore(deps): update dependency prettier to v3.2.3 (#3520) * chore(deps): update dependency prettier to v3.2.3 * chore(js): fix updated prettier whitespace --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Gabe Kangas --- web/components/admin/MainLayout.tsx | 9 ++++----- web/package-lock.json | 8 ++++---- web/package.json | 2 +- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/web/components/admin/MainLayout.tsx b/web/components/admin/MainLayout.tsx index 05d4d2030..1efe5e3b3 100644 --- a/web/components/admin/MainLayout.tsx +++ b/web/components/admin/MainLayout.tsx @@ -284,11 +284,10 @@ export const MainLayout: FC = ({ children }) => { }; useEffect(() => { - menuItems.forEach( - item => - item?.children?.forEach(child => { - if (child?.key === route) setOpenKeys([...openMenuItems, item.key]); - }), + menuItems.forEach(item => + item?.children?.forEach(child => { + if (child?.key === route) setOpenKeys([...openMenuItems, item.key]); + }), ); }, []); diff --git a/web/package-lock.json b/web/package-lock.json index 82f76e5cb..7d4e4af88 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -109,7 +109,7 @@ "mermaid": "^10.0.0", "npm": "^10.0.0", "postcss": "^8.4.31", - "prettier": "3.1.1", + "prettier": "3.2.3", "resolve-url-loader": "^5.0.0", "sass": "1.69.7", "sass-loader": "^13.3.2", @@ -29661,9 +29661,9 @@ } }, "node_modules/prettier": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.1.tgz", - "integrity": "sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==", + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.3.tgz", + "integrity": "sha512-QNhUTBq+mqt1oH1dTfY3phOKNhcDdJkfttHI6u0kj7M2+c+7fmNKlgh2GhnHiqMcbxJ+a0j2igz/2jfl9QKLuw==", "dev": true, "bin": { "prettier": "bin/prettier.cjs" diff --git a/web/package.json b/web/package.json index c563c666e..f6d306c9d 100644 --- a/web/package.json +++ b/web/package.json @@ -115,7 +115,7 @@ "mermaid": "^10.0.0", "npm": "^10.0.0", "postcss": "^8.4.31", - "prettier": "3.1.1", + "prettier": "3.2.3", "resolve-url-loader": "^5.0.0", "sass": "1.69.7", "sass-loader": "^13.3.2",