Skip to content

Commit

Permalink
fix(v2): restore toggle responsive sidebar button
Browse files Browse the repository at this point in the history
  • Loading branch information
lex111 committed Apr 15, 2021
1 parent 073fdea commit a85c498
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ function useResponsiveSidebar() {

const toggleResponsiveSidebar = useCallback(() => {
setShowResponsiveSidebar(!showResponsiveSidebar);
}, [setShowResponsiveSidebar]);
}, [setShowResponsiveSidebar, showResponsiveSidebar]);

return {
showResponsiveSidebar,
Expand Down

0 comments on commit a85c498

Please sign in to comment.