Await on unspawned children result
commita3d2164270af287c722dfc46cd14c64d50326289
authorFang <git@fang.io>
dateWed 24 Apr 2019, 17:07 (8 years ago)
parent098cfb5
src/bridge/views/InvitesSend.js+1−1
@@ -102,7 +102,7 @@ class InvitesSend extends React.Component {
102102
103103 async findRandomPlanet() {
104104 let res = Nothing();
105− const kids = azimuth.azimuth.getUnspawnedChildren(
105+ const kids = await azimuth.azimuth.getUnspawnedChildren(
106106 this.contracts,
107107 azimuth.azimuth.getPrefix(this.point)
108108 );