Only after adding the PluginClient (that imports @remixproject/plugin-webview) the contract-verification-plugin started to inherit Remix stylespull/5285/head
parent
19cec7dbb3
commit
5219882321
@ -0,0 +1,14 @@ |
|||||||
|
import {PluginClient} from '@remixproject/plugin' |
||||||
|
import {createClient} from '@remixproject/plugin-webview' |
||||||
|
import EventManager from 'events' |
||||||
|
|
||||||
|
export class ContractVerificationPluginClient extends PluginClient { |
||||||
|
public internalEvents: EventManager |
||||||
|
|
||||||
|
constructor() { |
||||||
|
super() |
||||||
|
this.internalEvents = new EventManager() |
||||||
|
createClient(this) |
||||||
|
this.onload() |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue