diff --git a/apps/etherscan/src/app/app.tsx b/apps/etherscan/src/app/app.tsx index 653d90bfb1..5a141e239d 100644 --- a/apps/etherscan/src/app/app.tsx +++ b/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()