on master help sign in
Update InvitesManage to work with latest azimuth-js
commitc32a615f56d31cb9cbdc36f8ab72e2a074867e8f authorFang <git@fang.io> dateTue 4 Jun 2019, 16:01 (7 years ago) parent32d8da9
1 file changed+3−2
src/bridge/views/InvitesManage.js+3−2
src/bridge/views/InvitesManage.js+3−2
@@ -86,7 +86,7 @@ class InvitesManage extends React.Component {
8686 } else {
8787 azimuth.delegatedSending.getPool(this.contracts, who)
8888 .then(pool => {
89− azimuth.delegatedSending.invitesInPool(this.contracts, pool)
89+ azimuth.delegatedSending.invitesInPool(this.contracts, pool, this.point)
9090 .then(size => {
9191 this.updatePoolSize(who, size);
9292 });
@@ -111,6 +111,7 @@ class InvitesManage extends React.Component {
111111 createUnsignedTxn() {
112112 return Just(azimuth.delegatedSending.setPoolSize(
113113 this.contracts,
114+ this.point,
114115 this.state.targetPlanet.value,
115116 this.state.targetPoolSize
116117 ))
@@ -134,7 +135,7 @@ class InvitesManage extends React.Component {
134135 }
135136
136137 let poolSizeText = this.state.currentPoolSize.matchWith({
137− Just: ps => `(currently ${ps.toString()})`,
138+ Just: ps => `(currently ${ps.value.toString()})`,
138139 Nothing: _ => ''
139140 });
140141