Skip to content

Commit

Permalink
Remove "skip" from docs page (Bad merge) (#491) (#492)
Browse files Browse the repository at this point in the history
  • Loading branch information
srijan55 authored Nov 21, 2024
1 parent 664e366 commit db96acc
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/pages/Docs/Docs.index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import DocsHtmlContent from "./components/DocsHtmlContent";
import Topic from "./components/Topic";
import { DATA_URL, SAS_URL, STAC_URL } from "../../utils/constants";
import ScrollToTop from "../../components/ScrollToTop";
import { skipContentStyle } from "components/Header/styles";

const OpenApiSpec = React.lazy(() => import("./components/OpenApiSpec"));

Expand Down Expand Up @@ -60,15 +59,6 @@ const Docs = () => {

const documentationPane = (
<div className="grid-content" style={docPageStyle}>
<Link
className={skipContentStyle}
onClick={() => {
const urlWithoutHash = window.location.href.split("#")[0];
window.location.href = urlWithoutHash + "#generated-docs-content";
}}
>
Skip to content
</Link>
{tocComponent}
<div style={docContentStyle}>
{breadcrumb}
Expand Down

0 comments on commit db96acc

Please sign in to comment.