{
setOpen(false); // Close the dropdown
setUserSelect(true); // Open the user select modal
}}>
{t('switchUserButton')}
{/* need the Link element to be the direct child of the DropdownMenuItem, since we are using asChild here */}
setOpen(false)} // Ensure dropdown closes on click
>
{t('settingsLink')}
{
setOpen(false); // Close the dropdown
setAboutOpen(true); // Open the about modal
}}>
{t('aboutButton')}
{t('themeLabel')}
{/* Add the UserForm dialog */}
{isEditing && user && (
)}
>
)
}