Skip to content

Commit

Permalink
fix for preview links
Browse files Browse the repository at this point in the history
  • Loading branch information
TrofimovAnton85 committed Sep 25, 2024
1 parent b078a31 commit 2c75022
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 86 deletions.
7 changes: 3 additions & 4 deletions src/CustomPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { NETWORK_NAMES } from "@site/src/plugins/plugin-json-rpc";
import ParserOpenRPC from "@site/src/components/ParserOpenRPC";
import React from "react";
import DocSidebar from '@theme/DocSidebar';
import styles from "../src/theme/Layout/styles.module.css"
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';

function generateSidebarItems(docs) {
Expand Down Expand Up @@ -83,12 +82,12 @@ const CustomPage = (props) => {

return (
<Layout>
<div className={styles.pageWrapper}>
<div>
<aside className={sidebar_wrapper_classes}>
<DocSidebar sidebar={formattedData} path="" onCollapse={() => {}} isHidden={false} />
</aside>
<div className={styles.mainContainer}>
<div className={styles.contentWrapper}>
<div>
<div>
<ParserOpenRPC
network={NETWORK_NAMES.linea}
method={customData.name}
Expand Down
61 changes: 0 additions & 61 deletions src/theme/Layout/index.tsx

This file was deleted.

21 changes: 0 additions & 21 deletions src/theme/Layout/styles.module.css

This file was deleted.

0 comments on commit 2c75022

Please sign in to comment.