Permalink
Browse files

Change name of the file to edit

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 715367145f0bcd0d4c5be6795b9848fe14954c68
Showing with 3 additions and 3 deletions.
  1. +3 −3 docs/GettingStarted.md
View
@@ -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" />
@@ -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" />

0 comments on commit 7153671

Please sign in to comment.