mirror of
https://github.com/acid-info/logos-ordinals-dashboard.git
synced 2025-03-01 05:00:45 +00:00
perf: deactivate prefetch
This commit is contained in:
parent
82c1e363a0
commit
ba9bbc93e1
@ -92,7 +92,11 @@ const OperatorCard: React.FC<OperatorCardProps> = ({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Container key={operator.id}>
|
<Container key={operator.id}>
|
||||||
<Link href={`/operators/${operator.id}`} key={operator.id}>
|
<Link
|
||||||
|
href={`/operators/${operator.id}`}
|
||||||
|
key={operator.id}
|
||||||
|
prefetch={false}
|
||||||
|
>
|
||||||
<OperatorImage
|
<OperatorImage
|
||||||
src={isDegenMode ? operator?.pixelated : operator?.gif}
|
src={isDegenMode ? operator?.pixelated : operator?.gif}
|
||||||
data-src={isDegenMode ? operator?.pixelated : operator?.gif}
|
data-src={isDegenMode ? operator?.pixelated : operator?.gif}
|
||||||
|
@ -71,6 +71,7 @@ const OperatorGrid: React.FC<OperatorGridProps> = ({ data, isLoading }) => {
|
|||||||
<Link
|
<Link
|
||||||
href={`/operators/${operator.id}`}
|
href={`/operators/${operator.id}`}
|
||||||
key={'explore-operator-' + index}
|
key={'explore-operator-' + index}
|
||||||
|
prefetch={false}
|
||||||
>
|
>
|
||||||
<GridItem ref={lastElementRef}>
|
<GridItem ref={lastElementRef}>
|
||||||
<img
|
<img
|
||||||
|
Loading…
x
Reference in New Issue
Block a user