79363339

Date: 2025-01-17 00:07:16
Score: 2
Natty:
Report link

Found a one-line solution with a key prop passed to the SessionProvider:

<SessionProvider session={session} key={session?.user.id}>
  <NextIntlClientProvider messages={messages}>
      {children}
   </NextIntlClientProvider>
</SessionProvider>

Credits: https://github.com/nextauthjs/next-auth/issues/9504#issuecomment-2516665386

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Andrii Ch