Skip to content

Commit

Permalink
Updated the text in the section ErrorBoundary (#366)
Browse files Browse the repository at this point in the history
Signed-off-by: AbhishekReddy1127 <[email protected]>
  • Loading branch information
AbhishekReddy1127 authored Feb 27, 2023
1 parent 58d94e4 commit e6739a9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src-docs/src/views/error_boundary/error_boundary.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ import React from 'react';
import { OuiErrorBoundary } from '../../../../src/components';

const BadComponent = () => {
throw new Error(
"I'm here to kick butt and chew bubblegum. And I'm all out of gum."
);
throw new Error('An unhandled exception occurred.');
};

export default () => (
Expand Down

0 comments on commit e6739a9

Please sign in to comment.