@ -100,8 +100,8 @@ var css = csjs`
}
.centered {
position : fixed;
top : 50%;
left : 50%;
top : 20%;
left : 45%;
width : 200px;
height : 200px;
@ -9,8 +9,8 @@ class PluginUdapp {
setupEvents () {
this.blockchain.event.register('newTransaction', (tx, receipt) => {
this.events.trigger('newTransaction', [tx, receipt])
this.blockchain.events.on('newTransaction', (tx, receipt) => {
this.events.emit('newTransaction', tx, receipt)
})