diff --git a/website/docs/docusaurus-core.md b/website/docs/docusaurus-core.md index 46c1d5ac6f9c..aca6474ec882 100644 --- a/website/docs/docusaurus-core.md +++ b/website/docs/docusaurus-core.md @@ -182,9 +182,9 @@ const MyComponent = () => { return ( // highlight-start - {() => { + {() => ( page url = {window.location.href}; - }} + )} // highlight-end );