Always prefetch

This commit is contained in:
Willian Mitsuda 2021-12-28 02:45:42 -03:00
parent f1db3f2348
commit 0c6137656f
1 changed files with 4 additions and 1 deletions

View File

@ -55,8 +55,11 @@ const NavNonce: React.FC<NavNonceProps> = ({ sender, nonce }) => {
} }
}; };
// Always prefetch
prefetch();
return ( return (
<div className="pl-2 self-center flex space-x-1" onMouseEnter={prefetch}> <div className="pl-2 self-center flex space-x-1">
<NavButton txHash={prevTxHash} disabled={nonce === 0}> <NavButton txHash={prevTxHash} disabled={nonce === 0}>
<FontAwesomeIcon icon={faChevronLeft} /> <FontAwesomeIcon icon={faChevronLeft} />
</NavButton> </NavButton>