Skip to content

Commit

Permalink
Update docusaurus-core.md
Browse files Browse the repository at this point in the history
  • Loading branch information
matthijsgroen committed Nov 5, 2021
1 parent 9c086d4 commit 67658c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/docusaurus-core.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,9 @@ const MyComponent = () => {
return (
// highlight-start
<BrowserOnly>
{() => {
{() => (
<span>page url = {window.location.href}</span>;
}}
)}
</BrowserOnly>
// highlight-end
);
Expand Down

0 comments on commit 67658c3

Please sign in to comment.