diff --git a/front/components/DataAnalyticsReport.js b/front/components/DataAnalyticsReport.js
index 3c90fa25..58401a32 100644
--- a/front/components/DataAnalyticsReport.js
+++ b/front/components/DataAnalyticsReport.js
@@ -1,27 +1,20 @@
-import { useState, useEffect } from "react";
+import { useState } from "react";
import { languagePairName } from "../hooks/hooks";
import ReportScores from "./ReportScores";
import LanguagePieChart from "./LanguagePieChart";
import { randDarkColor } from "../hooks/hooks";
import NGramsTable from "./NGramsTable";
import SegmentDistribution from "./SegmentDistribution";
-import { useTheme } from "next-themes";
import { exportMultipleChartsToPdf } from "./utils";
import NoiseDistributionGraph from "./NoiseDistributionGraph";
import { Oval } from "react-loader-spinner";
import styles from "./../src/styles/DataAnalyticsReport.module.css";
+import Link from "next/link";
export default function DataAnalyticsReport({ reportData, reportName }) {
- const [colorTheme, setColorTheme] = useState();
-
const [loadingPdf, setLoadingPdf] = useState(false);
- const theme = useTheme();
- useEffect(() => {
- setColorTheme(theme.resolvedTheme);
- }, [theme]);
-
if (!reportData) return;
const scores = JSON.parse(
@@ -240,7 +233,12 @@ export default function DataAnalyticsReport({ reportData, reportName }) {
{!trglang &&
{srclang[0].label} }
- {trglang && Target }
+ {trglang && (
+ <>
+ Source
+ Target
+ >
+ )}