Unverified Commit f572b552 authored by Joel's avatar Joel Committed by GitHub

chore: link prefetch deprecated. Remove warning message. (#270)

parent 554570dc
...@@ -42,7 +42,7 @@ const LikedItem: FC<{ type?: 'plugin' | 'app'; appStatus?: boolean; detail: Rela ...@@ -42,7 +42,7 @@ const LikedItem: FC<{ type?: 'plugin' | 'app'; appStatus?: boolean; detail: Rela
detail, detail,
}) => { }) => {
return ( return (
<Link prefetch className={s.itemWrapper} href={`/app/${detail?.id}/overview`}> <Link className={s.itemWrapper} href={`/app/${detail?.id}/overview`}>
<div className={s.iconWrapper}> <div className={s.iconWrapper}>
<AppIcon size='tiny' /> <AppIcon size='tiny' />
{type === 'app' && ( {type === 'app' && (
......
...@@ -18,7 +18,6 @@ export default function NavLink({ ...@@ -18,7 +18,6 @@ export default function NavLink({
return ( return (
<Link <Link
prefetch
key={name} key={name}
href={href} href={href}
className={classNames( className={classNames(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment