We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b3d7cb commit 378dc64Copy full SHA for 378dc64
src/component/dashbored/dashbored.tsx
@@ -2,7 +2,6 @@ import {UserDashBored, } from "@/server/types";
2
import {UserButton} from "@/component/layout/userbtn";
3
import { Divider, Menu, MenuItem} from "@mantine/core";
4
import {useRouter} from "next/navigation";
5
-import Image from "next/image";
6
7
interface DashboredProps {
8
user: UserDashBored
@@ -39,7 +38,7 @@ export const Dashbored = ({user}: DashboredProps) => {
39
38
}} className="item" key={index} onClick={() => {
40
nav("/r/" + user.user.name + "/" + item.name)
41
}}>
42
- <Image src={user.user.avatar || ""} alt={""} width={20} height={20} style={{
+ <img src={user.user.avatar || ""} alt={""} width={20} height={20} style={{
43
borderRadius: "50%"
44
}}/>
45
<div>
0 commit comments