Skip to content

Commit e4385c4

Browse files
committed
docs(react-dom): mark intentional Math.random example with expectedErrors to fix markdown code-block lint failure
1 parent 6d3924e commit e4385c4

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
@@ -552,7 +552,7 @@ Uncaught Error: Hydration failed because the server rendered HTML didn't match t
552552
553553
#### Example mismatch {/*example-mismatch*/}
554554
555-
```js
555+
```js {expectedErrors: {'react-compiler': [2]}}
556556
function App() {
557557
return <div>{Math.random()}</div>;
558558
}

0 commit comments

Comments
 (0)