Skip to content

Commit 2250a65

Browse files
fix: highlights line mismatch
1 parent 7306e0f commit 2250a65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/reference/react-dom/client/hydrateRoot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ It is uncommon to call [`root.render`](#root-render) on a hydrated root. Usually
378378
379379
By default, React will log all errors to the console. To implement your own error reporting, you can provide the optional error handler root options `onUncaughtError`, `onCaughtError` and `onRecoverableError`:
380380
381-
```js [[1, 6, "onCaughtError"], [2, 6, "error", 1], [3, 6, "errorInfo"], [4, 10, "componentStack", 15]]
381+
```js [[1, 7, "onCaughtError"], [2, 7, "error", 1], [3, 7, "errorInfo"], [4, 11, "componentStack", 15]]
382382
import { hydrateRoot } from "react-dom/client";
383383
import App from "./App.js";
384384
import { reportCaughtError } from "./reportError";

0 commit comments

Comments
 (0)