Przeglądaj źródła

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

tags/0.3.2
Joel 2 lat temu
rodzic
commit
f572b55237
No account linked to committer's email address

+ 1
- 1
web/app/(commonLayout)/datasets/(datasetDetailLayout)/[datasetId]/layout.tsx Wyświetl plik

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' && (

+ 0
- 1
web/app/components/app-sidebar/navLink.tsx Wyświetl plik



return ( return (
<Link <Link
prefetch
key={name} key={name}
href={href} href={href}
className={classNames( className={classNames(

Ładowanie…
Anuluj
Zapisz