fix build

This commit is contained in:
Gala
2022-10-24 12:01:37 +02:00
parent 7ad9c15c9e
commit fca32424b4
+7 -7
View File
@@ -20,13 +20,13 @@ export function gatewayToGridRow(arrayOfGateways: GatewayResponse): GatewayRowTy
return !arrayOfGateways
? []
: arrayOfGateways.map((gw) => ({
id: gw.owner,
owner: gw.owner,
identityKey: gw.gateway.identity_key || '',
location: gw?.gateway?.location || '',
bond: gw.pledge_amount.amount || 0,
host: gw.gateway.host || '',
}));
id: gw.owner,
owner: gw.owner,
identityKey: gw.gateway.identity_key || '',
location: gw?.gateway?.location || '',
bond: gw.pledge_amount.amount || 0,
host: gw.gateway.host || '',
}));
}
export function gatewayEnrichedToGridRow(