# give/4.18.0/src/Views/Components/AdminDetailsPage/ErrorBoundary/index.tsx

GiveWP – Donation Plugin and Fundraising Platform, version 4.18.0. 16 lines.

- Page: https://pluginprobe.com/plugins/give/4.18.0/code/src/Views/Components/AdminDetailsPage/ErrorBoundary/index.tsx
- Raw: https://pluginprobe.com/plugins/give/4.18.0/raw/src/Views/Components/AdminDetailsPage/ErrorBoundary/index.tsx
- Modified: 2025-06-18T15:01:58+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/give/4.18.0/code/src/Views/Components/AdminDetailsPage/ErrorBoundary/index.tsx#L10-L20`.

```tsx
import {ErrorBoundary} from 'react-error-boundary';
import Fallback from './Fallback';

export default function ErrorBoundaryComponent({children}) {
    return (
        <ErrorBoundary
            FallbackComponent={Fallback}
            onReset={() => {
                window.location.reload();
            }}
        >
            {children}
        </ErrorBoundary>
    );
}

```
