Skip to content

Commit

Permalink
Change name of the file to edit
Browse files Browse the repository at this point in the history
Summary:
The text that appears on screen is in App.js component.

The project that is being generated using react-native shows `To get started, edit App.js` text when run, but the documentation says to edit index.js file. The text is actually present in App.js, therefore the app is correct, but the documentation is not.

[DOCS] [ENHANCEMENT] [GettingStarted.md] - Wrong name of the file to edit
Closes #16550

Differential Revision: D6184953

Pulled By: shergin

fbshipit-source-id: c7385a349de8983aff80af8b393b3a973b4ef5cf
  • Loading branch information
Martin Cerny authored and facebook-github-bot committed Oct 30, 2017
1 parent 4c05ede commit 7153671
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -583,12 +583,12 @@ Now that you have successfully run the app, let's modify it.

<block class="native mac ios" />

- Open `index.js` in your text editor of choice and edit some lines.
- Open `App.js` in your text editor of choice and edit some lines.
- Hit `⌘R` in your iOS Simulator to reload the app and see your changes!

<block class="native mac android" />

- Open `index.js` in your text editor of choice and edit some lines.
- Open `App.js` in your text editor of choice and edit some lines.
- Press the `R` key twice or select `Reload` from the Developer Menu (`⌘M`) to see your changes!

<block class="native windows linux android" />
Expand All @@ -597,7 +597,7 @@ Now that you have successfully run the app, let's modify it.

Now that you have successfully run the app, let's modify it.

- Open `index.js` in your text editor of choice and edit some lines.
- Open `App.js` in your text editor of choice and edit some lines.
- Press the `R` key twice or select `Reload` from the Developer Menu (`Ctrl + M`) to see your changes!

<block class="native mac ios android" />
Expand Down

0 comments on commit 7153671

Please sign in to comment.