Skip to content

Commit 7c25df1

Browse files
revert: "feat: Error boundary component (#3736)" (#4130)
1 parent a0df38d commit 7c25df1

File tree

37 files changed

+129
-2154
lines changed

37 files changed

+129
-2154
lines changed

build-tools/utils/pluralize.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ const pluralizationMap = {
2828
DatePicker: 'DatePickers',
2929
DateRangePicker: 'DateRangePickers',
3030
Drawer: 'Drawers',
31-
ErrorBoundary: 'ErrorBoundaries',
3231
ExpandableSection: 'ExpandableSections',
3332
FileDropzone: 'FileDropzones',
3433
FileInput: 'FileInputs',

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
{
176176
"path": "lib/components/internal/widget-exports.js",
177177
"brotli": false,
178-
"limit": "1150 kB",
178+
"limit": "1100 kB",
179179
"ignore": "react-dom"
180180
}
181181
],

pages/app/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ function isAppLayoutPage(pageId?: string) {
5151
'funnel-analytics/static-single-page-flow',
5252
'funnel-analytics/static-multi-page-flow',
5353
'charts.test',
54-
'error-boundary/demo-async-load',
55-
'error-boundary/demo-components',
5654
];
5755
return pageId !== undefined && appLayoutPages.some(match => pageId.includes(match));
5856
}

pages/app/templates.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import React from 'react';
55

66
import { Box, SpaceBetween } from '~components';
77
import I18nProvider, { I18nProviderProps } from '~components/i18n';
8-
import messages from '~components/i18n/messages/all.all';
8+
import messages from '~components/i18n/messages/all.en';
99

1010
import { IframeWrapper } from '../utils/iframe-wrapper';
1111
import ScreenshotArea, { ScreenshotAreaProps } from '../utils/screenshot-area';
@@ -48,7 +48,7 @@ export function SimplePage({ title, subtitle, settings, children, screenshotArea
4848
);
4949

5050
content = i18n ? (
51-
<I18nProvider messages={[messages]} locale="en" {...i18n}>
51+
<I18nProvider messages={[messages]} locale="en-GB" {...i18n}>
5252
{content}
5353
</I18nProvider>
5454
) : (

pages/error-boundary/demo-async-load.page.tsx

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)