From 7e7755362fb24d555fb5fc5cb2a8a9d0adcb98ac Mon Sep 17 00:00:00 2001 From: Niloofar Date: Fri, 7 Jun 2024 17:48:55 +0800 Subject: [PATCH] fix: review comments --- src/components/AppLayout/Submenu /index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/AppLayout/Submenu /index.tsx b/src/components/AppLayout/Submenu /index.tsx index 3cd3d8ee..b8303b17 100644 --- a/src/components/AppLayout/Submenu /index.tsx +++ b/src/components/AppLayout/Submenu /index.tsx @@ -40,6 +40,7 @@ export const Submenu = ({ children, className, isOpen, + ...rest }: PropsWithChildren) => { const timerRef = useRef | null>(null); const [isMounted, setIsMounted] = useState(isOpen); @@ -66,6 +67,7 @@ export const Submenu = ({ return (
{children}