Fix deprecated

This commit is contained in:
Anton Tananaev 2024-04-07 08:41:29 -07:00
parent fee9fd0419
commit 96e4550c19

View File

@ -90,8 +90,10 @@ const MainToolbar = ({
horizontal: Number(theme.spacing(2).slice(0, -2)),
}}
marginThreshold={0}
PaperProps={{
style: { width: `calc(${toolbarRef.current?.clientWidth}px - ${theme.spacing(4)})` },
slotProps={{
paper: {
style: { width: `calc(${toolbarRef.current?.clientWidth}px - ${theme.spacing(4)})` },
}
}}
elevation={1}
disableAutoFocus