Skip to content

Commit

Permalink
fix: review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
niloofar-deriv committed Jun 7, 2024
1 parent c8891ab commit 7e77553
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/AppLayout/Submenu /index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export const Submenu = ({
children,
className,
isOpen,
...rest
}: PropsWithChildren<TSubmenu>) => {
const timerRef = useRef<ReturnType<typeof setInterval> | null>(null);
const [isMounted, setIsMounted] = useState(isOpen);
Expand All @@ -66,6 +67,7 @@ export const Submenu = ({
return (
<div
className={clsx("submenu", { submenu_exit: isClosing }, className)}
{...rest}
>
{children}
</div>
Expand Down

0 comments on commit 7e77553

Please sign in to comment.