diff --git a/webapp-next/components/charts/table/Table.tsx b/webapp-next/components/charts/table/Table.tsx
index fd1b523..80f437f 100644
--- a/webapp-next/components/charts/table/Table.tsx
+++ b/webapp-next/components/charts/table/Table.tsx
@@ -16,7 +16,6 @@ import { useContext } from 'react';
type Props = {
id: string;
datasets: { hits: any[]; label?: string }[];
- rowsLabel: string;
};
export const ChartTable = (props: Props) => {
@@ -27,7 +26,7 @@ export const ChartTable = (props: Props) => {
}
const { aggregations } = context;
- const { datasets, rowsLabel, id } = props;
+ const { datasets, id } = props;
if (!datasets[0]) return <>...>;
diff --git a/webapp-next/pages/index.tsx b/webapp-next/pages/index.tsx
index bd4f32b..1ca0e32 100644
--- a/webapp-next/pages/index.tsx
+++ b/webapp-next/pages/index.tsx
@@ -92,15 +92,13 @@ export default function Home() {
const ChartDisplay = () => {
switch (view) {
case 'line':
- return ;
+ return ;
case 'table':
- return (
-
- );
+ return ;
case 'histogram':
- return ;
+ return ;
case 'doughnut':
- return ;
+ return ;
default:
return <>Pas de dataviz configurée pour cette vue>;
}