use custom plugin client

pull/5370/head
yann300 2 years ago committed by Aniket
parent 37d3103871
commit 08654772d8
  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