Skip to content

Commit 1e80d35

Browse files
committed
fixed misplaced json
1 parent 66cde99 commit 1e80d35

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

Diff for: P06-Organizing-Files/content.md

+19-19
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,22 @@ Organizing components and their dependencies in folders is one way to keep compo
2424
> Move all of your components into this folder. It should include all of the following files:
2525
>
2626
> - src
27-
> - About.js
28-
> - App.css
29-
> - App.js
30-
> - App.test.js
31-
> - index.css
32-
> - index.js
33-
> - POPOSDetails.js
34-
> - POPOSList.css
35-
> - POPOSList.js
36-
> - POPOSSpace.css
37-
> - POPOSSpace.js
38-
> - serviceWorker.js
39-
> - setupTests.js
40-
> - sfpopos-data.json
41-
> - Title.css
42-
> - Title.js
27+
> - components
28+
> - About.js
29+
> - App.css
30+
> - App.js
31+
> - App.test.js
32+
> - index.css
33+
> - index.js
34+
> - POPOSDetails.js
35+
> - POPOSList.css
36+
> - POPOSList.js
37+
> - POPOSSpace.css
38+
> - POPOSSpace.js
39+
> - serviceWorker.js
40+
> - setupTests.js
41+
> - Title.css
42+
> - Title.js
4343
4444
All of your components should now be in the `components` folder, **except for index.js and index.css**. After this change, your folder structure should look like the following:
4545

@@ -118,7 +118,7 @@ This time the error is in `POPOSList.js` and it can't resolve `./sfpopos-data.js
118118
>
119119
> `import data from '../sfpopos-data.json'`
120120
121-
With these changes, you should have everything working in the example project. You might have to refresh the browser page after these changes.
121+
With these changes, you should have everything working in the example project. You might have to refresh the browser page after these changes.
122122

123123
### Grouping Components
124124

@@ -156,8 +156,8 @@ After these changes, your `src` directory should look like this:
156156
- setupTests.js
157157
- sfpopos-data.json
158158

159-
Note you will need to update your imoport statements after moving your files. This includes statements that import the component into `App.js` and places where you may have imported `sfpopos-data.json`.
159+
Note you will need to update your imoport statements after moving your files. This includes statements that import the component into `App.js` and places where you may have imported `sfpopos-data.json`.
160160

161-
Read thee error any error messages and these will usually tell you where a path fails to locate something.
161+
Read thee error any error messages and these will usually tell you where a path fails to locate something.
162162

163163
**CONGRATS!** You have successfully completed the React Fundamentals tutorial! Keep practicing with React, and we're excited to teach you more!

0 commit comments

Comments
 (0)