Skip to content

Commit

Permalink
Define an error boundary for specification-level field
Browse files Browse the repository at this point in the history
  • Loading branch information
kiahna-tucker committed Dec 20, 2024
1 parent b9efd7a commit 23e4275
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/shared/Entity/Backfill.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { useEntityType } from 'context/EntityContext';
import { useEntityWorkflow_Editing } from 'context/Workflow';
import { useIntl } from 'react-intl';
import OnIncompatibleSchemaChange from '../../materialization/OnIncompatibleSchemaChange';
import ErrorBoundryWrapper from '../ErrorBoundryWrapper';

export default function Backfill() {
const intl = useIntl();
Expand All @@ -22,7 +23,9 @@ export default function Backfill() {
) : null}

{entityType === 'materialization' ? (
<OnIncompatibleSchemaChange />
<ErrorBoundryWrapper>
<OnIncompatibleSchemaChange />
</ErrorBoundryWrapper>
) : null}
</SectionWrapper>
) : null;
Expand Down

0 comments on commit 23e4275

Please sign in to comment.