diff --git a/src/components/accessories/admin/index.ts b/src/components/accessories/admin/index.ts deleted file mode 100644 index 67d6bce8c..000000000 --- a/src/components/accessories/admin/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -export * from "./wards"; -export * from "./exams"; -export * from "./diseases"; -export * from "./users"; -export * from "./operations"; -export * from "./vaccines"; -export * from "./suppliers"; diff --git a/src/routes/Admin/AdminRoutes.tsx b/src/routes/Admin/AdminRoutes.tsx index f9140a918..9905231c8 100644 --- a/src/routes/Admin/AdminRoutes.tsx +++ b/src/routes/Admin/AdminRoutes.tsx @@ -13,21 +13,27 @@ import { import { Exams } from "../../components/accessories/admin/exams"; import { Users } from "../../components/accessories/admin/users"; import TypesRoutes from "./TypesRoutes"; +import { PATHS } from "../../consts"; import { Diseases, - Operations, - Vaccines, - Suppliers, - NewSupplier, - EditSupplier, - NewDisease, EditDisease, - NewOperation, + NewDisease, +} from "../../components/accessories/admin/diseases"; +import { EditOperation, + NewOperation, + Operations, +} from "../../components/accessories/admin/operations"; +import { EditVaccine, NewVaccine, -} from "../../components/accessories/admin"; -import { PATHS } from "../../consts"; + Vaccines, +} from "../../components/accessories/admin/vaccines"; +import { + EditSupplier, + NewSupplier, + Suppliers, +} from "../../components/accessories/admin/suppliers"; export const AdminRoutes = () => { const { t } = useTranslation();