We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c8f30a commit 3a57153Copy full SHA for 3a57153
app/components/ErrorBoundary/index.tsx
@@ -11,7 +11,7 @@ interface IState {
11
errInfo: string;
12
}
13
14
-function ErrorFallback(props: { errInfo: string }) {
+function ErrorPanel(props: { errInfo: string }) {
15
const { errInfo } = props;
16
const { intl } = useI18n();
17
const handleCopy = useCallback(() => {
@@ -61,7 +61,7 @@ class ErrorBoundary extends React.PureComponent<IProps, IState> {
61
render() {
62
const { errInfo } = this.state;
63
if(!errInfo) return this.props.children;
64
- return <ErrorFallback errInfo={errInfo} />;
+ return <ErrorPanel errInfo={errInfo} />;
65
66
67
0 commit comments