mirror of
https://github.com/traccar/traccar-web.git
synced 2025-01-08 12:07:27 +08:00
Fix deprecated
This commit is contained in:
parent
fee9fd0419
commit
96e4550c19
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user