use custom plugin client

pull/3102/head
yann300 2 years ago committed by Aniket
parent 2da47ad9d5
commit 23a9628525
  1. 4
      apps/etherscan/src/app/app.tsx

@ -5,7 +5,7 @@ import {
CompilationResult,
} from "@remixproject/plugin-api"
import { PluginClient } from "@remixproject/plugin";
import { RemixClient } from "./RemixPlugin";
import { createClient } from "@remixproject/plugin-webview";
import { AppContext } from "./AppContext"
@ -43,7 +43,7 @@ const App = () => {
contractsRef.current = contracts
useEffect(() => {
const client = new PluginClient()
const client = new RemixClient()
createClient(client)
const loadClient = async () => {
await client.onload()

Loading…
Cancel
Save