Signer plugin attachment

This commit is contained in:
Jaco Greeff
2017-09-04 16:17:39 +02:00
parent 7818ed98c7
commit a5cc14ce8c
6 changed files with 80 additions and 1 deletions

View File

@@ -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);
}