fix issues. make plugin self contained.

pull/5370/head
Joseph Izang 2 years ago
parent eecbcbf983
commit 4ed7b7aa3f
  1. 4
      apps/remixdocgen/src/app/App.tsx
  2. 1
      libs/remix-ui/docgenclient-ui/src/index.ts
  3. 11
      libs/remix-ui/docgenclient-ui/src/lib/remix-ui-docgenclient.tsx

@ -12,8 +12,6 @@ import { AppContext } from "./AppContext";
import { Routes } from "./routes"; import { Routes } from "./routes";
import { useLocalStorage } from "./hooks/useLocalStorage" import { useLocalStorage } from "./hooks/useLocalStorage"
import { RemixUiDocgenClient } from '@remix-ui/docgenclient-ui'
import "./App.css"; import "./App.css";
import { ContractName, Documentation } from "../types"; import { ContractName, Documentation } from "../types";
@ -103,7 +101,7 @@ const App = () => {
// <Routes /> // <Routes />
// </AppContext.Provider> // </AppContext.Provider>
<div> <div>
<RemixUiDocgenClient /> <h1>Remix Docgen</h1>
</div> </div>
) )
}; };

@ -1 +0,0 @@
export * from './lib/remix-ui-docgenclient'

@ -1,11 +0,0 @@
import React from 'react'
export function RemixUiDocgenClient() {
return (
<div>
<h1 className="h1">DocgenClientUI</h1>
<p className="p">This is a plugin that allows you to generate documentation for your smart contracts.</p>
</div>
)
}
Loading…
Cancel
Save