Skip to content

Commit f3b86bd

Browse files
committed
docs: Fixed link error
1 parent 48d3a85 commit f3b86bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

versioned_docs/version-6.x/typescript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ type RootStackParamList = {
2828

2929
Specifying `undefined` means that the route doesn't have params. A union type with `undefined` (e.g. `SomeType | undefined`) means that params are optional.
3030

31-
After we have defined the mappings, we need to tell our navigator to use it. To do that, we can pass it as a generic to the [`createXNavigator`](static-configuration.md#createxnavigator) functions:
31+
After we have defined the mappings, we need to tell our navigator to use it. To do that, we can pass it as a generic to the `createXNavigator` functions:
3232

3333
```tsx
3434
import { createStackNavigator } from '@react-navigation/stack';

versioned_docs/version-7.x/typescript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ type RootStackParamList = {
157157

158158
Specifying `undefined` means that the route doesn't have params. A union type with `undefined` (e.g. `SomeType | undefined`) means that params are optional.
159159

160-
After we have defined the mapping, we need to tell our navigator to use it. To do that, we can pass it as a generic to the [`createXNavigator`](static-configuration.md#createxnavigator)
160+
After we have defined the mapping, we need to tell our navigator to use it. To do that, we can pass it as a generic to the `createXNavigator` functions:
161161

162162
```tsx
163163
import { createStackNavigator } from '@react-navigation/stack';

0 commit comments

Comments
 (0)