Closed entrptaher closed 5 years ago
console.log
myData
to communityData
alt=""
empty.componentDidMount
as i showed you. Add the data that way.
I updated the sample-data.json
which has profilePhoto
, name
, description
etc. You can use that instead of logo-mark.png
and blank alt
.
You can call the sample-data.json file directly using this code,
fetch('https://gist.githubusercontent.com/entrptaher/4a62b93e59170e880691eae9723fb299/raw/d48d621fa5f8c8c454d8a49ec623b3217d848f1a/sample-data.json')
.then(data=>data.json())
.then(console.log)