Skip to content
Snippets Groups Projects
Commit 8e3948de authored by Dima Rifai's avatar Dima Rifai Committed by mcfarhat
Browse files

Issue #410 - Use optional chaining operator inconvertOperationResultsToTableOperations

parent e328109f
No related branches found
No related tags found
1 merge request!522Issue #410 - Use optional chaining operator inconvertOperationResultsToTableOperations
Pipeline #113709 canceled
This commit is part of merge request !522. Comments created here will be created in the context of that merge request.
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment