From c8ad67d3797698fb278a5a677895bae92ba73fb6 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Tue, 1 Feb 2022 13:53:34 +0000 Subject: [PATCH] Fix deps --- beta/src/components/useMenu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beta/src/components/useMenu.tsx b/beta/src/components/useMenu.tsx index 4435e5c4..cdc81218 100644 --- a/beta/src/components/useMenu.tsx +++ b/beta/src/components/useMenu.tsx @@ -60,7 +60,7 @@ export const useMenu = () => { menuRef, isOpen, }), - [] + [hideSidebar, showSidebar, toggleOpen, menuRef, isOpen] ); };