Skip to content

Commit 7f4e561

Browse files
committed
revert
1 parent 814e0a6 commit 7f4e561

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

packages/next/src/next-devtools/userspace/app/app-dev-overlay-error-boundary.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Fragment, PureComponent } from 'react'
1+
import { PureComponent } from 'react'
22
import { dispatcher } from 'next/dist/compiled/next-devtools'
33
import { RuntimeErrorHandler } from '../../../client/dev/runtime-error-handler'
44
import { ErrorBoundary } from '../../../client/components/error-boundary'
@@ -31,10 +31,8 @@ function ErroredHtml({
3131
}
3232
return (
3333
<ErrorBoundary errorComponent={DefaultGlobalError}>
34-
<>
35-
{globalErrorStyles}
36-
<GlobalError error={error} />
37-
</>
34+
{globalErrorStyles}
35+
<GlobalError error={error} />
3836
</ErrorBoundary>
3937
)
4038
}

0 commit comments

Comments
 (0)