You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have this wrapper that performs localization for my app
navigation.ts
import{createSharedPathnamesNavigation}from'next-intl/navigation';import{SUPPORTED_LANGUAGES}from'./constants/language';// Always use these localized component, they provides drop-in replacements for common Next.js// navigation APIs that automatically handle the user locale behind the scenes.// For example instead of <Link href='locale/path' /> we just pass the path <Link href='/path' />exportconst{ Link, redirect, usePathname, useRouter, permanentRedirect }=createSharedPathnamesNavigation({locales: [...SUPPORTED_LANGUAGES],});
i want to use transition along with this to override the Link and useRouter, can you please guide on how to achieve this ?
I have this wrapper that performs localization for my app
navigation.ts
i want to use transition along with this to override the
Link
anduseRouter
, can you please guide on how to achieve this ?This is my layout i am trying with both
layout.tsx
To use the link i am importting from navigation file above
component.tsx
The text was updated successfully, but these errors were encountered: