Refactor deprecated property

This commit is contained in:
Nicola Benaglia 2025-05-28 22:24:03 +02:00
parent 735bb08081
commit 94d538b9eb

View File

@ -186,6 +186,7 @@ export const AppsNavBarDesktop = ({ disableBack }) => {
> >
<NavBack /> <NavBack />
</ButtonBase> </ButtonBase>
<Tabs <Tabs
orientation="vertical" orientation="vertical"
ref={tabsRef} ref={tabsRef}
@ -269,9 +270,6 @@ export const AppsNavBarDesktop = ({ disableBack }) => {
anchorEl={anchorEl} anchorEl={anchorEl}
open={open} open={open}
onClose={handleClose} onClose={handleClose}
MenuListProps={{
'aria-labelledby': 'basic-button',
}}
anchorOrigin={{ anchorOrigin={{
vertical: 'bottom', vertical: 'bottom',
horizontal: 'center', horizontal: 'center',
@ -281,6 +279,9 @@ export const AppsNavBarDesktop = ({ disableBack }) => {
horizontal: 'center', horizontal: 'center',
}} }}
slotProps={{ slotProps={{
list: {
'aria-labelledby': 'basic-button',
},
paper: { paper: {
sx: { sx: {
backgroundColor: theme.palette.background.default, backgroundColor: theme.palette.background.default,