Skip to content

Commit 578d81b

Browse files
committed
[FIX] For ErrorBoundary
1 parent b7594b7 commit 578d81b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/react-tools-demo/src/pages/components/errorBoundary/ErrorBoundary.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { ErrorBoundary } from "../../../../../../packages/react-tools/src";
22

33
/**
4-
The component uses _ErrorBoundary_ Component to wrap _Component_. _Component_ throw an error so _ErrorBoundary_ catch it and show the _fallback_ element passing to it _error_ and _retry_ function.
4+
The component uses _ErrorBoundary_ Component to wrap _Component_. _Component_ throw an error so _ErrorBoundary_ catch it and show the _fallback_ element passing to it _error_ and _retry_ function. [See demo](https://nDriaDev.io/react-tools/#/components/ErrorBoundary)
55
*/
66
const Component = () => {
77
throw new Error("An error occurred.");

0 commit comments

Comments
 (0)