Skip to content

Commit

Permalink
update: keep widget menu open on page load (default)
Browse files Browse the repository at this point in the history
  • Loading branch information
nirbhayel committed Nov 25, 2024
1 parent 27177fb commit 8d2565f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { MenuItems } from './menu';

const SidebarMenu = () => {
const { openSidebar, selectedMenu, setSelectedMenu } = useSettings();
const [ expandedItems, setExpandedItems ] = useState( {} );
const [ expandedItems, setExpandedItems ] = useState( { widget: true } );

const handleSelectedMenu = ( parentKey, childKey ) => {
if ( childKey ) {
Expand Down

0 comments on commit 8d2565f

Please sign in to comment.