Skip to content

Commit 42f9e6d

Browse files
committed
Fix heading IDs to use no-space format for dead link checker
The dead link checker regex expects {/*id*/} format without spaces. Prettier reformatted these to {/* id */} which broke anchor links.
1 parent 30e3d40 commit 42f9e6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/reference/react/ViewTransition.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2330,7 +2330,7 @@ If a `startTransition` is started from the legacy popstate event, such as during
23302330

23312331
## Troubleshooting {/*troubleshooting*/}
23322332

2333-
### My `<ViewTransition>` is not activating {/* my-viewtransition-is-not-activating */}
2333+
### My `<ViewTransition>` is not activating {/*my-viewtransition-is-not-activating*/}
23342334

23352335
`<ViewTransition>` only activates if it is placed before any DOM node:
23362336

@@ -2356,7 +2356,7 @@ function Component() {
23562356
}
23572357
```
23582358

2359-
### I'm getting an error "There are two `<ViewTransition name=%s>` components with the same name mounted at the same time." {/* two-viewtransition-with-same-name */}
2359+
### I'm getting an error "There are two `<ViewTransition name=%s>` components with the same name mounted at the same time." {/*two-viewtransition-with-same-name*/}
23602360

23612361
This error occurs when two `<ViewTransition>` components with the same `name` are mounted at the same time:
23622362

0 commit comments

Comments
 (0)