import { FC, ComponentProps, PropsWithChildren, Suspense } from 'react' import { withTestContainerErrorBoundary } from '../../../helpers/error-boundary' const style = { width: 785, height: 785 } const TestContainerWithoutErrorBoundary: FC< PropsWithChildren> > = ({ children, ...rest }) => (
{children}
) // react-error-boundary version 5 requires an error boundary when using // useErrorBoundary, which we do in several components export const TestContainer = withTestContainerErrorBoundary( TestContainerWithoutErrorBoundary )