We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ee8097 commit 19c38b4Copy full SHA for 19c38b4
src/Home.js
@@ -105,7 +105,13 @@ export class MangaCard extends React.Component {
105
manga.GetRelationship("chapter").length
106
); //Limit display length
107
108
- console.log(manga)
+ if (manga.attributes == undefined) {
109
+ console.log(manga);
110
+ console.log(manga.attributes);
111
+ return (
112
+ <a>attributes undefined error</a>
113
+ )
114
+ }
115
116
return (
117
<Col md={6} className="col-md-6 border-bottom p-2">
src/MangaDexAPI/API.js
@@ -251,7 +251,6 @@ class Manga extends MdData {
251
return this._getMap(this.attributes.description);
252
}
253
getTitle() {
254
- console.log(this);
255
return this._getMap(this.attributes.title);
256
257
getUrl() {
0 commit comments