fix build

This commit is contained in:
Gala
2022-10-21 10:55:45 +02:00
parent 2a0b1a3734
commit 54716c7c09
3 changed files with 9 additions and 9 deletions
+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,
identity_key: gw.gateway.identity_key || '',
location: gw?.gateway?.location || '',
bond: gw.pledge_amount.amount || 0,
host: gw.gateway.host || '',
}));
id: gw.owner,
owner: gw.owner,
identity_key: gw.gateway.identity_key || '',
location: gw?.gateway?.location || '',
bond: gw.pledge_amount.amount || 0,
host: gw.gateway.host || '',
}));
}
export function gatewayEnrichedToGridRow(
+1 -1
View File
@@ -1,5 +1,5 @@
import * as React from 'react';
import { Alert, AlertTitle, Box, CircularProgress, Grid, Typography } from '@mui/material';
import { Alert, AlertTitle, Box, CircularProgress, Grid } from '@mui/material';
import { useParams } from 'react-router-dom';
import { GatewayResponseItem } from '../../typeDefs/explorer-api';
import { ColumnsType, DetailTable } from '../../components/DetailTable';
+1 -1
View File
@@ -1,5 +1,5 @@
import * as React from 'react';
import { Link as RRDLink, useParams, useNavigate } from 'react-router-dom';
import { Link as RRDLink } from 'react-router-dom';
import { Button, Card, Grid, Typography, Link as MuiLink } from '@mui/material';
import { GridColDef, GridRenderCellParams } from '@mui/x-data-grid';
import { SelectChangeEvent } from '@mui/material/Select';