Skip to content

Commit 41dbb83

Browse files
authored
refactor: rename the react client error callbacks module (vercel#74192)
1 parent 64efdad commit 41dbb83

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

packages/next/src/client/app-index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ import React, { use } from 'react'
99
// eslint-disable-next-line import/no-extraneous-dependencies
1010
import { createFromReadableStream } from 'react-server-dom-webpack/client'
1111
import { HeadManagerContext } from '../shared/lib/head-manager-context.shared-runtime'
12-
import { onRecoverableError } from './react-client-callbacks/shared'
12+
import { onRecoverableError } from './react-client-callbacks/on-recoverable-error'
1313
import {
1414
onCaughtError,
1515
onUncaughtError,
16-
} from './react-client-callbacks/app-router'
16+
} from './react-client-callbacks/error-boundary-callbacks'
1717
import { callServer } from './app-call-server'
1818
import { findSourceMapURL } from './app-find-source-map-url'
1919
import {

packages/next/src/client/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ import {
4545
SearchParamsContext,
4646
PathParamsContext,
4747
} from '../shared/lib/hooks-client-context.shared-runtime'
48-
import { onRecoverableError } from './react-client-callbacks/shared'
48+
import { onRecoverableError } from './react-client-callbacks/on-recoverable-error'
4949
import tracer from './tracing/tracer'
5050
import reportToSocket from './tracing/report-to-socket'
5151
import { isNextRouterError } from './components/is-next-router-error'

0 commit comments

Comments
 (0)