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:
parent
9186c0af41
commit
0d9a8680fb
5 changed files with 85 additions and 3 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue