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";