This commit is contained in:
anime committed 2024-09-16 22:03:10 +06:00
1 parent 4c11bc460c
commit 9dda476c16
6 files changed
+30 -13

No files matched your search

+3 -1
View File
@@ -1,3 +1,4 @@
/* eslint-disable @next/next/no-img-element */
"use client";
import Image from "next/image";
@@ -10,6 +11,7 @@ import { useSession } from "next-auth/react";
import { useState } from "react";
import { AxiosError } from "axios";
import Loader from "@/shared/ui/Loader/Loader";
import profile from "./icons/profile.png";
interface IProfileAvatarProps {
img: string;
@@ -29,7 +31,7 @@ const ProfileAvatar: React.FC<IProfileAvatarProps> = ({
const session = useSession();
const router = useRouter();
const def = "lflvl";
const def = profile;
const handleChange: React.ChangeEventHandler<HTMLInputElement> = (e) => {
if (e.target.files) {
setDisplayImage(e.target.files[0]);
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB