useLocaleHead doesn't work with useSetI18nParams because <link rel="alternate" /> aren't sync.
Additional context
if i go from Homepage /it to the blog page /it/blog-1-ita using the Go at Blog Page button, the alternate links don't change; but i've set all the i18nParams
Environment
Build Modules: -
Reproduction
https://stackblitz.com/edit/github-c7te5q-rzxba2
Describe the bug
useLocaleHead
doesn't work withuseSetI18nParams
because<link rel="alternate" />
aren't sync.Additional context
if i go from Homepage
/it
to the blog page/it/blog-1-ita
using the Go at Blog Page button, the alternate links don't change; but i've set all the i18nParamsIf i refresh the page when i'm in the blog page, the
<link rel="alternate" />
are duplicated (and alsocanonical
).Logs
No response