Skip to content

Commit

Permalink
Move assigments map component to assignment index route
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrewy-gh committed Nov 23, 2024
1 parent 3957517 commit 350d22d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions frontend/front/src/pages/Admin/assignment/AssignProfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
useGoToBreadcrumb,
useInitBreadcrumbs,
} from "../../../hooks/breadcrumbHooks";
import { AssignmentsMap } from "../component/AssignmentsMap";
import ContainerTitle from "../component/ContainerTitle";
import CustomSnackbar from "../../../components/CustomSnackbar";
import { DataGrid } from "@mui/x-data-grid";
Expand Down Expand Up @@ -134,7 +133,6 @@ const AssignProfile = () => {
/>
) : (
<Box>
<AssignmentsMap />
<Stack
py={3}
justifyContent="flex-start"
Expand Down
2 changes: 2 additions & 0 deletions frontend/front/src/pages/Admin/assignment/Assignment.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import React from "react";
import { AssignmentsMap } from "../component/AssignmentsMap";
import AssignTable from "./AssignTable";
import ContainerTitle from "../component/ContainerTitle";

const Assignment = () => (
<ContainerTitle name={"Assignments"}>
<AssignmentsMap />
<AssignTable />
</ContainerTitle>
);
Expand Down

0 comments on commit 350d22d

Please sign in to comment.