build & format

This commit is contained in:
2026-06-13 11:01:50 +03:30
parent 5f88728d67
commit 01bb171ebb
3 changed files with 22 additions and 24 deletions

View File

@@ -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"]
// }

View File

@@ -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 (
<>
<WithPermission
permission_name={["all"]}
>
<WithPermission permission_name={["all"]}>
<MachinesPage />
</WithPermission>
</>

View File

@@ -682,7 +682,7 @@ export const pageMenuDev = [
icon: <GppMaybeIcon sx={{ width: "inherit", height: "inherit" }} />,
permissions: ["manage-damage"],
},
{
{
id: "machines",
label: "ماشین‌ها",
type: "page",