diff --git a/components/Chart/Chart.jsx b/components/Chart/Chart.jsx index 1b49eea..197d9f5 100755 --- a/components/Chart/Chart.jsx +++ b/components/Chart/Chart.jsx @@ -1,7 +1,7 @@ /* eslint-disable react/prop-types */ import * as Plot from "@observablehq/plot"; import { useEffect, useRef, useState } from "react"; -import { Link, useNavigate } from "react-router-dom"; +import { useNavigate } from "react-router-dom"; import useSWR from "swr"; export default function Chart({ imageSelected, setDomain, isNexusFile }) { @@ -103,21 +103,12 @@ export default function Chart({ imageSelected, setDomain, isNexusFile }) { > {copied ? "Copied to clipboard" : "Share a link"} - {/* { - navigate(`?h5web=${imageSelected}`); - if(!isNexusFile) { - setDomain(data.domain); - } - }} - >Share */} +