Next-Auth is not being used, as Lucia-Auth is the auth library.
Please note: conditional-header.tsx is not being imported in any file. <AvatarImage src={session?.user?.image || undefined} /> was commented since the session does not contain session.user.image. The old Session type was being imported from Next-Auth, which is not the Auth library. To solve this, depending on your goals, I/you can either remove the component, make the component async to be able to get the profile URL or leave it as is.
Next Steps: Good idea to clean up unused packages and make dev dependencies (e.g. "@types/lodash": "4.17.4", "@types/mdx": "2.0.13", "@types/uuid": "9.0.8", etc) be installed as dev dependencies. I can help with that if you want to.
thanks for doing this! I forgot to remove this stuff. yeah feel free to help with whatever. I'd say just make it an async component and fetch the profile image if the user is logged in.
[chore] Remove unused next-auth package
Next-Auth is not being used, as Lucia-Auth is the auth library.
Please note: conditional-header.tsx is not being imported in any file. <AvatarImage src={session?.user?.image || undefined} /> was commented since the session does not contain session.user.image. The old Session type was being imported from Next-Auth, which is not the Auth library. To solve this, depending on your goals, I/you can either remove the component, make the component async to be able to get the profile URL or leave it as is.
Next Steps: Good idea to clean up unused packages and make dev dependencies (e.g. "@types/lodash": "4.17.4", "@types/mdx": "2.0.13", "@types/uuid": "9.0.8", etc) be installed as dev dependencies. I can help with that if you want to.