Skip to content

Commit

Permalink
[docs]: minor grammar change (facebook#2347)
Browse files Browse the repository at this point in the history
  • Loading branch information
unixisking authored Nov 24, 2020
1 parent 6e3f0e5 commit 61f0699
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/headless-js-android.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Headless JS is a way to run tasks in JavaScript while your app is in the backgro

## The JS API

A task is a async function that you register on `AppRegistry`, similar to registering React applications:
A task is an async function that you register on `AppRegistry`, similar to registering React applications:

```jsx
import { AppRegistry } from 'react-native';
Expand Down
2 changes: 1 addition & 1 deletion docs/navigation.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const HomeScreen = ({ navigation }) => {
);
};
const ProfileScreen = ({ navigation, route }) => {
return <Text>This is { route.params.name }'s profile</Text>;
return <Text>This is {route.params.name}'s profile</Text>;
};
```
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.63/headless-js-android.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Headless JS is a way to run tasks in JavaScript while your app is in the backgro

## The JS API

A task is a async function that you register on `AppRegistry`, similar to registering React applications:
A task is an async function that you register on `AppRegistry`, similar to registering React applications:

```jsx
import { AppRegistry } from 'react-native';
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.63/navigation.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const HomeScreen = ({ navigation }) => {
);
};
const ProfileScreen = ({ navigation, route }) => {
return <Text>This is { route.params.name }'s profile</Text>;
return <Text>This is {route.params.name}'s profile</Text>;
};
```
Expand Down

0 comments on commit 61f0699

Please sign in to comment.