DEV Community

Discussion on: React Firebase Authentication

Collapse
 
timothyahong profile image
Timothy Ahong • Edited

A couple of typos I found. Might be useful for other people who are working through the tutorial!

1)
In src/components/App.js the folder specified for Navbar and FlashMessage is "shared/" instead of "components/". In the first step these files are added to the "components/" folder. So src/components/App.js should have the following 2 lines changed.

import Navbar from '../components/Navbar';
import FlashMessage from '../components/FlashMessage';

2)
Since we have our App.js under "components/" we will need to change the default src/index.js that you get from create-react-app. The default index.js assumes App.js is located under the src folder and the path needs to be udpated to components/App.js. This was not mentioned in the tutorial.