Hi, terminal is error;
Compiled with warnings.
./src/post/NewPost.js
Line 118: 'photo' is assigned a value but never used no-unused-vars
./src/auth/PrivateRoute.js
Line 1: 'Component' is defined but never used no-unused-vars
./src/user/EditProfile.js
Line 60: Unnecessary escape character: . no-useless-escape
Line 60: Unnecessary escape character: . no-useless-escape
Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.
React starting error;
Unhandled Rejection (TypeError): Cannot read property 'error' of undefined
eval
src/post/Posts.js:30:30
27 | }
28 |
29 | loadMore = number => {
30 | this.setState({ page: this.state.page + number });
| ^ 31 | this.loadPosts(this.state.page + number);
32 | };
33 |
View compiled
This screen is visible only in development. It will not appear if the app crashes in production.
Open your browser’s developer console to further inspect this error.
Hi, terminal is error;
Compiled with warnings.
./src/post/NewPost.js
Line 118: 'photo' is assigned a value but never used no-unused-vars
./src/auth/PrivateRoute.js
Line 1: 'Component' is defined but never used no-unused-vars
./src/user/EditProfile.js
Line 60: Unnecessary escape character: . no-useless-escape
Line 60: Unnecessary escape character: . no-useless-escape
Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.
React starting error;
Unhandled Rejection (TypeError): Cannot read property 'error' of undefined
eval
src/post/Posts.js:30:30
27 | }
28 |
29 | loadMore = number => {