mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-01-23 13:34:54 +03:00
fix: remove unused variable
This commit is contained in:
parent
01c66d79af
commit
7ba7391c83
@ -1,4 +1,4 @@
|
||||
import { useEffect, useId, useRef, useState } from "react";
|
||||
import { useEffect, useRef, useState } from "react";
|
||||
import { createPortal } from "react-dom";
|
||||
import { XIcon } from "@primer/octicons-react";
|
||||
|
||||
@ -24,7 +24,6 @@ export function Modal({
|
||||
const [isClosing, setIsClosing] = useState(false);
|
||||
const dispatch = useAppDispatch();
|
||||
const modalContentRef = useRef<HTMLDivElement | null>(null);
|
||||
const componentId = useId();
|
||||
|
||||
const handleCloseClick = () => {
|
||||
setIsClosing(true);
|
||||
|
Loading…
Reference in New Issue
Block a user