Skip to content

Commit

Permalink
refactor:change the way components are imported within admin module (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverD3 authored Jun 19, 2024
1 parent e6f7e27 commit 5728b0a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 deletions.
7 changes: 0 additions & 7 deletions src/components/accessories/admin/index.ts

This file was deleted.

24 changes: 15 additions & 9 deletions src/routes/Admin/AdminRoutes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 5728b0a

Please sign in to comment.