修复 TypeScript 类型错误:将 MUI sx 语法改成标准 CSS 属性
This commit is contained in:
@@ -77,7 +77,7 @@ export default function Index() {
|
||||
{ value: 's', label: t('timestamp:unitS') },
|
||||
]}
|
||||
onChange={(v) => setUnit(v as 'ms' | 's')}
|
||||
sx={{ width: 'auto', mb: 0, flexShrink: 0 }}
|
||||
sx={{ width: 'auto', marginBottom: 0, flexShrink: 0 }}
|
||||
size="small"
|
||||
/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user