Skip to content

Jump to Page Accepting Negative Values

Currently on the witness account page the "jump to page number" accepts negative values through the counter set, which causes the following error:

Unhandled Runtime Error

TypeError: Cannot read properties of null (reading 'map')

Source

lib\utils.ts (87:21) @ map

85 | operations: Hive.OperationResponse[] 86 | ): Explorer.OperationForTable[] => { > 87 | return operations.map((operation) => ({ | ^ 88 | operation: operation.op, 89 | blockNumber: operation.block, 90 | trxId: operation.trx_id,

Steps to reproduce:

  1. On the home page search for a witness Example "json"
  2. On the witness account page set the Jump to page on the top bar to a negative value and click on Go
  3. Error appears