Signer plugin attachment
This commit is contained in:
@@ -22,6 +22,10 @@ export default class PluginStore {
|
||||
@observable components = [];
|
||||
|
||||
@action addComponent (Component) {
|
||||
if (!Component) {
|
||||
throw new Error('Unable to attach empty Component to status');
|
||||
}
|
||||
|
||||
this.components.push(Component);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user