diff --git a/src/frontend/src/alerts/alertDropDown/index.tsx b/src/frontend/src/alerts/alertDropDown/index.tsx index 3d830f25b..87e2fac56 100644 --- a/src/frontend/src/alerts/alertDropDown/index.tsx +++ b/src/frontend/src/alerts/alertDropDown/index.tsx @@ -1,6 +1,5 @@ import { Cross2Icon } from "@radix-ui/react-icons"; import { forwardRef, useEffect, useState } from "react"; -import ShortUniqueId from "short-unique-id"; import IconComponent from "../../components/common/genericIconComponent"; import { Popover, @@ -31,9 +30,7 @@ const AlertDropdown = forwardRef( if (!open) { onClose?.(); } - }, [open, onClose]); - - const uid = new ShortUniqueId(); + }, [open]); return ( ( > {children} -
+
Notifications