Handle non-used addresses in search fix#67
This commit is contained in:
parent
e45ea7db12
commit
f52119a540
|
@ -132,8 +132,8 @@ const AddressTransactionResults: React.FC<AddressTransactionResultsProps> = ({
|
||||||
address={address}
|
address={address}
|
||||||
isFirst={controller?.isFirst}
|
isFirst={controller?.isFirst}
|
||||||
isLast={controller?.isLast}
|
isLast={controller?.isLast}
|
||||||
prevHash={page ? page[0].hash : ""}
|
prevHash={page?.[0]?.hash ?? ""}
|
||||||
nextHash={page ? page[page.length - 1].hash : ""}
|
nextHash={page?.[page.length - 1]?.hash ?? ""}
|
||||||
disabled={controller === undefined}
|
disabled={controller === undefined}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -165,8 +165,8 @@ const AddressTransactionResults: React.FC<AddressTransactionResultsProps> = ({
|
||||||
address={address}
|
address={address}
|
||||||
isFirst={controller?.isFirst}
|
isFirst={controller?.isFirst}
|
||||||
isLast={controller?.isLast}
|
isLast={controller?.isLast}
|
||||||
prevHash={page ? page[0].hash : ""}
|
prevHash={page?.[0]?.hash ?? ""}
|
||||||
nextHash={page ? page[page.length - 1].hash : ""}
|
nextHash={page?.[page.length - 1]?.hash ?? ""}
|
||||||
disabled={controller === undefined}
|
disabled={controller === undefined}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue