diff --git a/packages/start/shared/ErrorBoundary.tsx b/packages/start/shared/ErrorBoundary.tsx index 3743e32cf..d150cfe91 100644 --- a/packages/start/shared/ErrorBoundary.tsx +++ b/packages/start/shared/ErrorBoundary.tsx @@ -1,24 +1,13 @@ -import { - ErrorBoundary as DefaultErrorBoundary, - ParentProps, -} from "solid-js"; +import { ErrorBoundary as DefaultErrorBoundary, type ParentProps } from "solid-js"; import { HttpStatusCode } from "./HttpStatusCode"; import { DevOverlay } from "./dev-overlay"; export function ErrorBoundary(props: ParentProps) { if (import.meta.env.DEV) { - return ( - - {props.children} - - ); + return {props.children}; } return ( - - )} - > + }> {props.children} );