1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Add error boundary for page crashes

This commit is contained in:
Bill Thornton 2024-06-25 15:13:32 -04:00
parent 9186c0af41
commit 0d9a8680fb
5 changed files with 85 additions and 3 deletions

View file

@ -41,6 +41,14 @@ export const DEFAULT_THEME_OPTIONS: ThemeOptions = {
}
},
components: {
MuiAlert: {
styleOverrides: {
message: {
// NOTE: This seems like a bug. Block content does not fill the container width.
flexGrow: 1
}
}
},
MuiButton: {
defaultProps: {
variant: 'contained'