perf: désactiver le prefetch next/link sur la sidebar des paroles
Déploiement FRONT BETA / check (push) Successful in 2m7s
Déploiement FRONT PROD / check (push) Successful in 2m8s
Déploiement FRONT BETA / deploy (push) Successful in 22s
Déploiement FRONT PROD / deploy (push) Successful in 18s

This commit is contained in:
2026-07-04 00:21:23 +04:00
parent 9f9b408f1f
commit b67bdf0632
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -20,6 +20,7 @@ export default function MizikLyen({niAwtis, anPawol, kuveti, slug, meteEsMobilOu
return ( return (
<Link <Link
passHref passHref
prefetch={false}
href={`/paroles/${anPawol.slug}#${anPawol.slug}`} href={`/paroles/${anPawol.slug}#${anPawol.slug}`}
style={{textDecoration: 'none', width: '100%', display: 'flex', alignItems: 'center'}} style={{textDecoration: 'none', width: '100%', display: 'flex', alignItems: 'center'}}
onClick={() => meteEsMobilOuve(false)} onClick={() => meteEsMobilOuve(false)}
+1 -1
View File
@@ -82,7 +82,7 @@ export default function TeksDrawer({paroles}) {
<MenuIcon /> <MenuIcon />
</IconButton> </IconButton>
{parole && ( {parole && (
<Link passHref href='/paroles'> <Link passHref prefetch={false} href='/paroles'>
<IconButton aria-label='return' size='medium'> <IconButton aria-label='return' size='medium'>
<KeyboardBackspaceIcon style={{fontSize: '1.5em'}} /> <KeyboardBackspaceIcon style={{fontSize: '1.5em'}} />
</IconButton> </IconButton>