diff --git a/docs/react.md b/docs/react.md index 0340e8ad..e6f72b5e 100644 --- a/docs/react.md +++ b/docs/react.md @@ -30,7 +30,7 @@ export function Head() { ## Partytown Script -Add the `type="text/partytown"` [prop](/partytown-scripts) for each script that should run from a web worker. The example below is using the React specific way of inlining a script with [dangerouslySetInnerHTML](https://reactjs.org/docs/dom-elements.html#dangerouslysetinnerhtml). +Add the `type="text/partytown"` [prop](/partytown-scripts) for each script that should run from a web worker. The example below is using the React specific way of inlining a script with [dangerouslySetInnerHTML](https://react.dev/reference/react-dom/components/common#dangerously-setting-the-inner-html). ```jsx