Skip to content

Commit 583d0a0

Browse files
authored
Merge branch 'master' into feat/chakra-modal-refactor
2 parents f552b48 + 19c49ca commit 583d0a0

File tree

5 files changed

+5
-2
lines changed

5 files changed

+5
-2
lines changed

src/app/earn/components/balance-card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const Position = ({
3333
)
3434

3535
return product && token ? (
36-
<Link prefetch href={`/earn/product/${product.tokenAddress}`}>
36+
<Link prefetch={true} href={`/earn/product/${product.tokenAddress}`}>
3737
<motion.div
3838
whileHover={{
3939
scale: 1.01,

src/app/earn/components/product-card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export type ProductCardProps = {
1919
export const ProductCard: FC<ProductCardProps> = ({ product, pill }) => {
2020
const { name, description, tags, tokenAddress, metrics } = product
2121
return (
22-
<Link prefetch href={`/earn/product/${tokenAddress}`}>
22+
<Link prefetch={true} href={`/earn/product/${tokenAddress}`}>
2323
<motion.div
2424
whileHover={{
2525
scale: 1.05,

src/components/footer/footer-link.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export function FooterLink({ children, href, target }: Props) {
1616
return (
1717
<li>
1818
<Link
19+
prefetch={true}
1920
target={target ?? '_blank'}
2021
href={href}
2122
className='text-ic-gray-600 hover:text-ic-gray-900 dark:hover:text-ic-gray-400 dark:text-ic-gray-200 text-sm leading-6'

src/components/header/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ export function Header() {
8585
key={item.name}
8686
href={item.href}
8787
className='text-ic-gray-900 hover:bg-ic-gray-50 dark:text-ic-gray-50 dark:hover:bg-ic-gray-900 -mx-3 block rounded-lg px-3 py-2 text-sm font-semibold leading-7'
88+
prefetch={true}
8889
>
8990
{item.name}
9091
</Link>

src/components/header/link.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export function HeaderLink({ href, label }: Props) {
1919
href === Path.SWAP ? pathname.startsWith(href) : pathname === href
2020
return (
2121
<Link
22+
prefetch={true}
2223
className={clsx(
2324
'text-sm font-medium',
2425
isActive

0 commit comments

Comments
 (0)