Skip to content

Commit 291fd38

Browse files
Fix typo prefix -> prefixes
1 parent 0c03d2f commit 291fd38

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

versioned_docs/version-6.x/configuring-links.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const linking = {
5353
};
5454
```
5555

56-
Note that the `prefix` option is not supported on Web. The host & domain names will be automatically determined from the Website URL in the browser. If your app runs only on Web, then you can omit this option from the config.
56+
Note that the `prefixes` option is not supported on Web. The host & domain names will be automatically determined from the Website URL in the browser. If your app runs only on Web, then you can omit this option from the config.
5757

5858
### Multiple subdomains​
5959

@@ -412,7 +412,9 @@ const state = {
412412
{
413413
name: 'Settings',
414414
state: {
415-
routes: [{ name: 'InvalidSettings', path: '/settings/notification' }],
415+
routes: [
416+
{ name: 'InvalidSettings', path: '/settings/notification' },
417+
],
416418
},
417419
},
418420
],
@@ -430,7 +432,7 @@ function NotFoundScreen({ route }) {
430432
return <WebView source={{ uri: `https://mywebsite.com/${route.path}` }} />;
431433
}
432434

433-
return <Text>This screen doesn't exist!</Text>
435+
return <Text>This screen doesn't exist!</Text>;
434436
}
435437
```
436438

versioned_docs/version-7.x/configuring-links.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const linking = {
5353
};
5454
```
5555

56-
Note that the `prefix` option is not supported on Web. The host & domain names will be automatically determined from the Website URL in the browser. If your app runs only on Web, then you can omit this option from the config.
56+
Note that the `prefixes` option is not supported on Web. The host & domain names will be automatically determined from the Website URL in the browser. If your app runs only on Web, then you can omit this option from the config.
5757

5858
### Multiple subdomains​
5959

@@ -412,7 +412,9 @@ const state = {
412412
{
413413
name: 'Settings',
414414
state: {
415-
routes: [{ name: 'InvalidSettings', path: '/settings/notification' }],
415+
routes: [
416+
{ name: 'InvalidSettings', path: '/settings/notification' },
417+
],
416418
},
417419
},
418420
],
@@ -430,7 +432,7 @@ function NotFoundScreen({ route }) {
430432
return <WebView source={{ uri: `https://mywebsite.com/${route.path}` }} />;
431433
}
432434

433-
return <Text>This screen doesn't exist!</Text>
435+
return <Text>This screen doesn't exist!</Text>;
434436
}
435437
```
436438

0 commit comments

Comments
 (0)