diff --git a/lib/utils.ts b/lib/utils.ts index a92e97da866a411e04d9b2ab98c7450333708fd2..8650cd413186e62b111ae9d038b8925ac835f2f6 100644 --- a/lib/utils.ts +++ b/lib/utils.ts @@ -84,7 +84,7 @@ export const formatPercent = (numberToFormat: number): string => { export const convertOperationResultsToTableOperations = ( operations: Hive.OperationResponse[] ): Explorer.OperationForTable[] => { - return operations.map((operation) => ({ + return operations?.map((operation) => ({ operation: operation.op, blockNumber: operation.block, trxId: operation.trx_id,