Skip to content

Commit 7dfb196

Browse files
Disabled console logs
1 parent 1b3de3a commit 7dfb196

File tree

1 file changed

+2
-2
lines changed
  • projects/react/06_github_cards/src

1 file changed

+2
-2
lines changed

projects/react/06_github_cards/src/App.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class Form extends Component {
4242
const response = await axios.get(
4343
`https://api.github.com/users/${this.state.userName}`
4444
);
45-
console.log(response.data);
45+
// console.log(response.data);
4646
this.props.onSubmit(response.data);
4747
};
4848

@@ -76,7 +76,7 @@ class App extends Component {
7676
};
7777

7878
addNewProfile = (profileData) => {
79-
console.log(profileData);
79+
// console.log(profileData);
8080
this.setState((prevState) => {
8181
return {
8282
profiles: [...prevState.profiles, profileData],

0 commit comments

Comments
 (0)