"use client"
import { useKindeBrowserClient } from '@kinde-oss/kinde-auth-nextjs'
import Image from 'next/image';
import React from 'react'
function DashboardHeader() {
const {user} = useKindeBrowserClient();
return (
<div>
<Image src={user?.picture} alt='logo'
width={40}
height={40}
/>
</div>
)
}
export default DashboardHeader
I encountered a problem with my web application that seems to be caused by the image tag in the code provided above.
Interestingly, everything works fine when I remove the image tag code. However, as soon as I add it back in, the issue resurfaces.
I have attempted various solutions but have been unable to resolve this issue.