diff --git a/src/components/AccessDenied.tsx b/src/components/AccessDenied.tsx index fbc0b81f..792e9af3 100644 --- a/src/components/AccessDenied.tsx +++ b/src/components/AccessDenied.tsx @@ -31,6 +31,7 @@ export default function AccessDenied({ resetErrorBoundary }: FallbackProps) { return ( { - if (errorPathname !== location.pathname) resetErrorBoundary(); - }, [errorPathname, location.pathname, resetErrorBoundary]); - if ((error as any).code === "permission-denied") return ( @@ -38,13 +31,17 @@ export default function ErrorFallback({ message: "Something went wrong", description: ( <> - + {(error as any).code && {(error as any).code}: } {error.message} - + } style={{ marginTop: -TOP_BAR_HEIGHT }} diff --git a/src/theme/components.tsx b/src/theme/components.tsx index 342a92ea..6cf7c4ca 100644 --- a/src/theme/components.tsx +++ b/src/theme/components.tsx @@ -1339,6 +1339,12 @@ export const components = (theme: Theme): ThemeOptions => { }, }, + MuiSkeleton: { + styleOverrides: { + rectangular: { borderRadius: theme.shape.borderRadius }, + }, + }, + MuiRating: { styleOverrides: { iconFilled: { color: theme.palette.text.secondary },