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