diff --git a/src/components/homePage/index.js b/src/components/homePage/index.js index 6d3a652..94febf0 100644 --- a/src/components/homePage/index.js +++ b/src/components/homePage/index.js @@ -14,6 +14,7 @@ import AnalyzerList from "../../api/analyzer"; import InsightTable from "./inSight"; import WordCloud from "./wordCloud"; + function HomePage() { const [urlInput, setUrlInput] = useState(""); const [selectedAlgorithm, setSelectedAlgorithm] = useState("rabin_karp"); @@ -63,12 +64,14 @@ function HomePage() { setSelectedAlgorithm(event.target.value); }; + const handleDownload = () => { // const element = document.getElementById('pdf-container'); // html2pdf(element); window.print(); }; + const handleScrollUp = () => { setScrollUp(true); setResetScroll(true); @@ -232,9 +235,7 @@ function HomePage() { )} - {multialgo && keywordListData&& + {multialgo && keywordListData&& } );