Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ec16cf commit b9e3226Copy full SHA for b9e3226
site/src/api/errors.ts
@@ -90,5 +90,5 @@ export const getErrorDetail = (
90
isApiError(error)
91
? error.response.data.detail
92
: error instanceof Error
93
- ? error.stack
+ ? `Please check the developer console for more details.`
94
: null
site/src/components/Alert/Alert.tsx
@@ -27,6 +27,7 @@ export const Alert: FC<AlertProps> = ({
27
<Collapse in={open}>
28
<MuiAlert
29
{...alertProps}
30
+ sx={{ textAlign: "left", ...alertProps.sx }}
31
severity={severity}
32
action={
33
<>
0 commit comments