Skip to content
Snippets Groups Projects

Issue #410 - Use optional chaining operator inconvertOperationResultsToTableOperations

Merged Issue #410 - Use optional chaining operator inconvertOperationResultsToTableOperations
Merged Dima Rifai requested to merge delrifai/#410_handle_empty_results_operations into develop
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
  • 8e3948de
    Issue #410 - Use optional chaining operator inconvertOperationResultsToTableOperations · 8e3948de
    Dima Rifai authored
+ 1
1
@@ -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,
Loading