From 01bb171ebbe6e54070c1ea0b88944eaf60ef2c80 Mon Sep 17 00:00:00 2001 From: baslani Date: Sat, 13 Jun 2026 11:01:50 +0330 Subject: [PATCH] build & format --- jsconfig.json | 38 +++++++++---------- .../dashboard/machines/page.jsx | 6 +-- src/core/utils/pageMenuDev.js | 2 +- 3 files changed, 22 insertions(+), 24 deletions(-) diff --git a/jsconfig.json b/jsconfig.json index c136578..b51472a 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -1,27 +1,27 @@ // javascript for production -// { -// "compilerOptions": { -// "paths": { -// "@/*": ["./src/*"], -// "^/*": ["./public/*"] -// } -// } -// } - -// typescript for local development { "compilerOptions": { - "jsx": "react-jsx", - "noUnusedLocals": true, - "noImplicitAny": false, - "checkJs": true, - "allowJs": true, - "strict": true, - "baseUrl": ".", "paths": { "@/*": ["./src/*"], "^/*": ["./public/*"] } - }, - "exclude": ["node_modules"] + } } + +// typescript for local development +// { +// "compilerOptions": { +// "jsx": "react-jsx", +// "noUnusedLocals": true, +// "noImplicitAny": false, +// "checkJs": true, +// "allowJs": true, +// "strict": true, +// "baseUrl": ".", +// "paths": { +// "@/*": ["./src/*"], +// "^/*": ["./public/*"] +// } +// }, +// "exclude": ["node_modules"] +// } diff --git a/src/app/(withAuth)/(dashboardLayout)/dashboard/machines/page.jsx b/src/app/(withAuth)/(dashboardLayout)/dashboard/machines/page.jsx index 53e7040..35c27ad 100644 --- a/src/app/(withAuth)/(dashboardLayout)/dashboard/machines/page.jsx +++ b/src/app/(withAuth)/(dashboardLayout)/dashboard/machines/page.jsx @@ -1,5 +1,5 @@ import WithPermission from "@/core/middlewares/withPermission"; -import MachinesPage from "@/components/dashboard/machines" +import MachinesPage from "@/components/dashboard/machines"; export const metadata = { title: "کارتابل ماشین‌ها", @@ -7,9 +7,7 @@ export const metadata = { const Page = () => { return ( <> - + diff --git a/src/core/utils/pageMenuDev.js b/src/core/utils/pageMenuDev.js index 08aaf62..4bc0665 100644 --- a/src/core/utils/pageMenuDev.js +++ b/src/core/utils/pageMenuDev.js @@ -682,7 +682,7 @@ export const pageMenuDev = [ icon: , permissions: ["manage-damage"], }, - { + { id: "machines", label: "ماشین‌ها", type: "page",