fix: TypeScript build errors (TS6 enum → const, MUI v9 sx props, theme)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Benjamin Sutter
2026-05-15 01:04:28 +02:00
parent 39427c4835
commit 67e4baf860
5 changed files with 74 additions and 63 deletions
+5 -3
View File
@@ -79,9 +79,11 @@ export const theme = createTheme({
defaultProps: { disableElevation: true },
styleOverrides: {
root: { borderRadius: 6, padding: '6px 16px' },
containedPrimary: {
background: '#1e3a5f',
'&:hover': { background: '#142a45' },
contained: {
'&.MuiButton-containedPrimary': {
background: '#1e3a5f',
'&:hover': { background: '#142a45' },
},
},
},
},