chore: update deps & replace deprecated elements

This commit is contained in:
wonfen
2025-05-05 00:26:04 +08:00
parent eda8fc125f
commit dc798fe2dd
19 changed files with 370 additions and 494 deletions

View File

@@ -484,12 +484,14 @@ export const GroupsEditorViewer = (props: Props) => {
onChange={(e) => {
field.onChange(parseInt(e.target.value));
}}
InputProps={{
slotProps={{
input: {
endAdornment: (
<InputAdornment position="end">
{t("seconds")}
</InputAdornment>
),
}
}}
/>
</Item>
@@ -510,12 +512,14 @@ export const GroupsEditorViewer = (props: Props) => {
onChange={(e) => {
field.onChange(parseInt(e.target.value));
}}
InputProps={{
endAdornment: (
<InputAdornment position="end">
{t("millis")}
</InputAdornment>
),
slotProps={{
input: {
endAdornment: (
<InputAdornment position="end">
{t("millis")}
</InputAdornment>
),
}
}}
/>
</Item>