diff --git a/src/components/AppLayout/Submenu /index.tsx b/src/components/AppLayout/Submenu /index.tsx index 038e145a..3cd3d8ee 100644 --- a/src/components/AppLayout/Submenu /index.tsx +++ b/src/components/AppLayout/Submenu /index.tsx @@ -41,7 +41,7 @@ export const Submenu = ({ className, isOpen, }: PropsWithChildren) => { - const timerRef = useRef(null); + const timerRef = useRef | null>(null); const [isMounted, setIsMounted] = useState(isOpen); const [isClosing, setIsClosing] = useState(false);