feat: init new auth

This commit is contained in:
swve 2024-05-25 14:56:28 +02:00
parent f838a8512c
commit 1708b36818
34 changed files with 1853 additions and 3613 deletions

View file

@ -1,4 +1,4 @@
import { useSession } from '@components/Contexts/SessionContext'
import { useSession } from 'next-auth/react'
import {
sendActivityAIChatMessage,
startActivityAIChatSession,
@ -409,7 +409,7 @@ const AIMessagePlaceHolder = (props: {
<span className="items-center">Hello</span>
<span className="capitalize flex space-x-2 items-center">
<UserAvatar rounded="rounded-lg" border="border-2" width={35} />
<span>{session.user.username},</span>
<span>{session.data.user.username},</span>
</span>
<span>how can we help today ?</span>
</p>