@applica-software-guru/react-admin 1.3.128 → 1.3.129

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applica-software-guru/react-admin",
3
- "version": "1.3.128",
3
+ "version": "1.3.129",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -72,7 +72,7 @@
72
72
  },
73
73
  "devDependencies": {
74
74
  "@applica-software-guru/crud-client": "1.1.*",
75
- "@applica-software-guru/iam-client": "1.0.*",
75
+ "@applica-software-guru/iam-client": "1.1.*",
76
76
  "@testing-library/jest-dom": "^5.16.5",
77
77
  "@testing-library/react": "^14.0.0",
78
78
  "@types/node": "^18.7.6",
@@ -38,7 +38,15 @@ function Error(props: ErrorBoundaryProps) {
38
38
  <Stack alignItems="center" px={2} py={{ xs: 4, sm: 8 }} spacing={2} textAlign="center">
39
39
  {title && <Title title={title} />}
40
40
  <img src={imgSrc} style={{ width: '100%', maxWidth: 450, marginTop: theme.spacing(4) }} />
41
- <Typography variant="h2">{translate(isProduction ? 'ra.page.error' : error.message, { _: error.message })}</Typography>
41
+ <Typography
42
+ variant="h2"
43
+ sx={{
44
+ whiteSpace: 'pre-wrap',
45
+ wordBreak: 'break-word'
46
+ }}
47
+ >
48
+ {translate(isProduction ? 'ra.page.error' : error.message, { _: error.message })}
49
+ </Typography>
42
50
  {!isProduction && <Typography variant="caption">{translate('ra.message.error_more_info')}</Typography>}
43
51
  {errorInfo && (
44
52
  <Typography