Skip to content

Commit e693631

Browse files
committed
fix client type
1 parent c3422e2 commit e693631

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

packages/next/src/next-devtools/userspace/app/client-entry.tsx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,7 @@ export function createRootLevelDevOverlayElement(reactEl: React.ReactElement) {
2929
socket.addEventListener('message', handler)
3030

3131
return (
32-
<AppDevOverlayErrorBoundary
33-
globalError={[
34-
DefaultGlobalError,
35-
null,
36-
// hardcoded the built-in global error module path
37-
'global-error.js',
38-
]}
39-
>
32+
<AppDevOverlayErrorBoundary globalError={[DefaultGlobalError, null]}>
4033
{reactEl}
4134
</AppDevOverlayErrorBoundary>
4235
)

0 commit comments

Comments
 (0)