From d2adff7cb200847ca9ffa8496d16a4541df4716c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0lyas=20Keskin?= Date: Mon, 9 Sep 2024 11:42:03 +0300 Subject: [PATCH] import useEffect --- components/shared/photo/AvatarEdit.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/shared/photo/AvatarEdit.jsx b/components/shared/photo/AvatarEdit.jsx index 4c72556..494f688 100644 --- a/components/shared/photo/AvatarEdit.jsx +++ b/components/shared/photo/AvatarEdit.jsx @@ -8,7 +8,7 @@ import { DropdownMenuTrigger, } from "@/components/ui/dropdown-menu"; -import { useRef, useState } from "react"; +import { useEffect, useRef, useState } from "react"; import usePrevImg from "@/hooks/usePrevImg"; import Image from "next/image";