Closed Qodestackr closed 1 month ago
Also related to:
Error: PrismaClient is unable to run in this browser environment, or has been bundled for the browser (running in unknown
).
Well, it looks like you're importing server-only code into a client component. Really doubt it's an issue with Lucia
Yes its not but please. I fixed that but dont know if I need to be accessing sessions in client components. @pilcrowOnPaper
You probably don't need to access the token on the client. You could probably pass the expiration data as a prop if you need it
Package
lucia
Describe the bug
Code:
USED HERE: