Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
jerem1508 committed Jun 11, 2024
1 parent 5b633aa commit 7ffdfe3
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions client/src/pages/atlas/components/main/tabs/fields/one.tsx
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
import { useParams, useSearchParams, useNavigate } from "react-router-dom";
import {
getNumberOfStudentsByYear,
getNumberOfStudents,
getGeoPolygon,
getNumberOfStudentsByFieldAndSublevel,
} from "../../../../../../api/atlas.ts";
import { useQuery } from "@tanstack/react-query";
import {
Badge,
Button,
Col,
Container,
Row,
Title,
Text,
Button,
Badge,
Title,
} from "@dataesr/dsfr-plus";
import * as turf from "@turf/turf";

import ColumnsChart from "../../../../charts/columns.tsx";
import { DEFAULT_CURRENT_YEAR } from "../../../../../../constants.tsx";
import GendersCard from "../../../../../../components/cards/genders-card/index.tsx";
import MapSkeleton from "../../../../charts/skeletons/map.tsx";
import MapWithPolygonAndBubbles from "../../../../charts/map-with-polygon-and-bubbles.tsx";
import SectorsCard from "../../../../../../components/cards/sectors-card/index.tsx";
import StudentsCard from "../../../../../../components/cards/students-card/index.tsx";
import {
DataByYear,
MapBubbleDataProps,
} from "../../../../../../types/atlas.ts";
import StudentsCard from "../../../../../../components/cards/students-card/index.tsx";
import SectorsCard from "../../../../../../components/cards/sectors-card/index.tsx";
import GendersCard from "../../../../../../components/cards/genders-card/index.tsx";
import MapSkeleton from "../../../../charts/skeletons/map.tsx";
import MapWithPolygonAndBubbles from "../../../../charts/map-with-polygon-and-bubbles.tsx";
import { DEFAULT_CURRENT_YEAR } from "../../../../../../constants.tsx";
import ColumnsChart from "../../../../charts/columns.tsx";
import {
getNumberOfStudentsByYear,
getNumberOfStudents,
getGeoPolygon,
getNumberOfStudentsByFieldAndSublevel,
} from "../../../../../../api/atlas.ts";

export default function OneField() {
const { idFiliere } = useParams();
Expand Down Expand Up @@ -78,7 +78,6 @@ export default function OneField() {
) {
return <MapSkeleton />;
}
console.log(fieldData);

const mapbubbleData: MapBubbleDataProps = [];
fieldData.forEach((item) => {
Expand Down

0 comments on commit 7ffdfe3

Please sign in to comment.