import React, { FunctionComponent, ReactElement } from "react"; import { ErrorBoundary as NativeErrorBoundary } from "react-error-boundary"; export interface ComponentProps { children?: ReactElement; } const Fallback: FunctionComponent = () => { return (