fix(react-chartjs version ): Fixed react-chartjs version outdated

This commit is contained in:
Laurian-Dufrechou
2023-05-20 19:27:52 +02:00
parent 97be61a48d
commit ace8284c6a
8 changed files with 19055 additions and 4135 deletions
+18 -17
View File
@@ -1,25 +1,26 @@
import Head from 'next/head';
import Navbar from '@/components/Navbar';
import Head from "next/head";
import Navbar from "@/components/Navbar";
import BarChart from '@/components/graph/BarChart'
import PieChart from '@/components/graph/PieChart';
import LineChart from '@/components/graph/LineChart';
import BarChart from "@/components/graph/BarChart";
import PieChart from "@/components/graph/PieChart";
import LineChart from "@/components/graph/LineChart";
import {Box} from '@chakra-ui/react';
import {websiteName} from '@/lib/constants';
import { useRef, useEffect } from 'react';
import { Box } from "@chakra-ui/react";
import { websiteName } from "@/lib/constants";
import { useRef, useEffect } from "react";
export default function Graphique() {
return (
<>
<Head><title>{websiteName}</title></Head>
<>
<Head>
<title>{websiteName}</title>
</Head>
<Box>
<PieChart/>
<BarChart/>
<LineChart />
</Box>
</>
<Box>
{/* <PieChart /> */}
{/* <BarChart /> */}
<LineChart />
</Box>
</>
);
}