Skip to content

Commit d24d701

Browse files
Refactored starter code
1 parent 7dfb196 commit d24d701

File tree

1 file changed

+1
-3
lines changed
  • projects/react/06_github_cards/src

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ import './App.css';
22
import { Component } from 'react';
33
import axios from 'axios';
44

5-
const testData = [];
6-
75
const CardList = (props) => (
86
<div>
97
{props.profiles.map((profile) => (
@@ -72,7 +70,7 @@ class App extends Component {
7270
// };
7371
// }
7472
state = {
75-
profiles: testData,
73+
profiles: [],
7674
};
7775

7876
addNewProfile = (profileData) => {

0 commit comments

Comments
 (0)