Skip to content

Bad substring #41

@akwong189

Description

@akwong189
log.js:24 [HMR] Waiting for update signal from WDS...
scheduler.development.js:305 [Deprecation] SharedArrayBuffer will require cross-origin isolation as of M91, around May 2021. See https://developer.chrome.com/blog/enabling-shared-array-buffer/ for more details.
(anonymous) @ scheduler.development.js:305
index.js:61 was called
CommentCol.js:24 Array(6)
index.js:1 Warning: Each child in a list should have a unique "key" prop.

Check the render method of `CommentCol`. See https://reactjs.org/link/warning-keys for more information.
    in Toast (at CommentCol.js:64)
    in CommentCol (at ThreadPage.js:127)
    in div (created by Col)
    in Col (at ThreadPage.js:127)
    in div (created by Row)
    in Row (at ThreadPage.js:124)
    in div (created by Container)
    in Container (at ThreadPage.js:119)
    in div (at ThreadPage.js:118)
    in div (at ThreadPage.js:114)
    in ThreadPage (created by Context.Consumer)
    in Route (at src/index.js:72)
    in Switch (at src/index.js:70)
    in Router (created by BrowserRouter)
    in BrowserRouter (at src/index.js:67)
    in StrictMode (at src/index.js:65)
console.<computed> @ index.js:1
CommentCol.js:24 Array(6)
webpackHotDevClient.js:138 src/App.js
  Line 4:9:    'axios' is defined but never used        no-unused-vars
  Line 5:8:    'Top_nav' is defined but never used      no-unused-vars
  Line 8:8:    'TopicBubble' is defined but never used  no-unused-vars
  Line 9:9:    'useState' is defined but never used     no-unused-vars
  Line 9:19:   'useEffect' is defined but never used    no-unused-vars
  Line 9:29:   'useRef' is defined but never used       no-unused-vars
  Line 12:10:  'render' is defined but never used       no-unused-vars
  Line 13:9:   'Redirect' is defined but never used     no-unused-vars

src/ArticleCard.js
  Line 1:27:    'useEffect' is defined but never used                                                                      no-unused-vars
  Line 3:3:     'Toast' is defined but never used                                                                          no-unused-vars
  Line 4:3:     'Card' is defined but never used                                                                           no-unused-vars
  Line 9:3:     'Badge' is defined but never used                                                                          no-unused-vars
  Line 11:8:    'axios' is defined but never used                                                                          no-unused-vars
  Line 13:10:   'Likes' is defined but never used                                                                          no-unused-vars
  Line 113:19:  img elements must have an alt prop, either with meaningful text, or an empty string for decorative images  jsx-a11y/alt-text
  Line 128:19:  img elements must have an alt prop, either with meaningful text, or an empty string for decorative images  jsx-a11y/alt-text
  Line 139:19:  img elements must have an alt prop, either with meaningful text, or an empty string for decorative images  jsx-a11y/alt-text

src/CommentCol.js
  Line 1:9:    'Card' is defined but never used           no-unused-vars
  Line 1:28:   'Container' is defined but never used      no-unused-vars
  Line 3:20:   'useEffect' is defined but never used      no-unused-vars
  Line 3:31:   'useRef' is defined but never used         no-unused-vars
  Line 12:14:  'load_comments' is defined but never used  no-unused-vars

src/Likes.js
  Line 3:10:   'Row' is defined but never used                                                                            no-unused-vars
  Line 4:9:    'axios' is defined but never used                                                                          no-unused-vars
  Line 38:18:  img elements must have an alt prop, either with meaningful text, or an empty string for decorative images  jsx-a11y/alt-text

src/Login.js
  Line 5:9:     'LinkContainer' is defined but never used  no-unused-vars
  Line 18:8:    'Top_nav' is defined but never used        no-unused-vars
  Line 42:31:   Expected '===' and instead saw '=='        eqeqeq
  Line 67:33:   Expected '===' and instead saw '=='        eqeqeq
  Line 72:33:   Expected '===' and instead saw '=='        eqeqeq
  Line 110:28:  Expected '===' and instead saw '=='        eqeqeq

src/Nav.js
  Line 1:21:  'NavDropdown' is defined but never used  no-unused-vars
  Line 1:33:  'Form' is defined but never used         no-unused-vars
  Line 1:38:  'FormControl' is defined but never used  no-unused-vars
  Line 1:50:  'Button' is defined but never used       no-unused-vars

src/Profile.js
  Line 2:37:   'Nav' is defined but never used                                                                            no-unused-vars
  Line 2:42:   'Tab' is defined but never used                                                                            no-unused-vars
  Line 2:46:   'Tabs' is defined but never used                                                                           no-unused-vars
  Line 19:33:  img elements must have an alt prop, either with meaningful text, or an empty string for decorative images  jsx-a11y/alt-text

src/SentimentCard.js
  Line 1:16:  'useState' is defined but never used          no-unused-vars
  Line 1:26:  'useEffect' is defined but never used         no-unused-vars
  Line 6:3:   'Toast' is defined but never used             no-unused-vars
  Line 7:3:   'Card' is defined but never used              no-unused-vars
  Line 8:3:   'Col' is defined but never used               no-unused-vars
  Line 9:3:   'Row' is defined but never used               no-unused-vars
  Line 10:3:  'Container' is defined but never used         no-unused-vars
  Line 11:3:  'Button' is defined but never used            no-unused-vars
  Line 12:3:  'Badge' is defined but never used             no-unused-vars
  Line 15:9:  'article' is assigned a value but never used  no-unused-vars

src/Sidebar.js
  Line 1:10:  'extend' is defined but never used           no-unused-vars
  Line 2:8:   'App' is defined but never used              no-unused-vars
  Line 4:9:   'useState' is defined but never used         no-unused-vars
  Line 4:19:  'useEffect' is defined but never used        no-unused-vars
  Line 4:29:  'useRef' is defined but never used           no-unused-vars
  Line 9:24:  'secondary_color' is defined but never used  no-unused-vars
  Line 13:9:  'Redirect' is defined but never used         no-unused-vars

src/ThreadInfo.js
  Line 1:16:  'useState' is defined but never used   no-unused-vars
  Line 1:26:  'useEffect' is defined but never used  no-unused-vars
  Line 2:9:   'Row' is defined but never used        no-unused-vars
  Line 2:13:  'Col' is defined but never used        no-unused-vars

src/ThreadPage.js
  Line 2:8:    'ReactDOM' is defined but never used            no-unused-vars
  Line 5:31:   'Toast' is defined but never used               no-unused-vars
  Line 5:38:   'CardColumns' is defined but never used         no-unused-vars
  Line 6:31:   'useRef' is defined but never used              no-unused-vars
  Line 8:9:    'ThreadInfo' is defined but never used          no-unused-vars
  Line 48:11:  'token' is assigned a value but never used      no-unused-vars
  Line 51:11:  'result' is assigned a value but never used     no-unused-vars
  Line 98:9:   'sentCards' is assigned a value but never used  no-unused-vars

src/TopicBubble.js
  Line 7:36:  Unexpected string concatenation of literals  no-useless-concat

src/category-bubbles.js
  Line 3:9:   'useState' is defined but never used         no-unused-vars
  Line 3:19:  'useEffect' is defined but never used        no-unused-vars
  Line 3:29:  'useRef' is defined but never used           no-unused-vars
  Line 6:9:   'axios' is defined but never used            no-unused-vars
  Line 7:9:   'primary_color' is defined but never used    no-unused-vars
  Line 7:24:  'secondary_color' is defined but never used  no-unused-vars

src/index.js
  Line 26:23:  Comments inside children section of tag should be placed inside braces        react/jsx-no-comment-textnodes
  Line 28:37:  Comments inside children section of tag should be placed inside braces        react/jsx-no-comment-textnodes
  Line 68:5:   Imported JSX component Top_nav must be in PascalCase or SCREAMING_SNAKE_CASE  react/jsx-pascal-case
printWarnings @ webpackHotDevClient.js:138
manifest.json:1 Manifest: Line: 1, column: 1, Syntax error.
index.js:1 Warning: Each child in a list should have a unique "key" prop.

Check the render method of `ThreadPage`. See https://reactjs.org/link/warning-keys for more information.
    in Container (at ThreadPage.js:71)
    in ThreadPage (created by Context.Consumer)
    in Route (at src/index.js:72)
    in Switch (at src/index.js:70)
    in Router (created by BrowserRouter)
    in BrowserRouter (at src/index.js:67)
    in StrictMode (at src/index.js:65)
console.<computed> @ index.js:1
index.js:1 Warning: Encountered two children with the same key, `0`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    in div (created by Col)
    in Col (at ThreadPage.js:73)
    in div (created by Row)
    in Row (at ThreadPage.js:72)
    in div (created by Container)
    in Container (at ThreadPage.js:71)
    in div (created by Col)
    in Col (at ThreadPage.js:125)
    in div (created by Row)
    in Row (at ThreadPage.js:124)
    in div (created by Container)
    in Container (at ThreadPage.js:119)
    in div (at ThreadPage.js:118)
    in div (at ThreadPage.js:114)
    in ThreadPage (created by Context.Consumer)
    in Route (at src/index.js:72)
    in Switch (at src/index.js:70)
    in Router (created by BrowserRouter)
    in BrowserRouter (at src/index.js:67)
    in StrictMode (at src/index.js:65)
console.<computed> @ index.js:1
ArticleCard.js:18 sent:  undefined
ArticleCard.js:18 sent:  undefined
SentimentCard.js:34 sentdata Array(0)
index.js:1 Warning: Encountered two children with the same key, `1`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    in div (created by Col)
    in Col (at ThreadPage.js:73)
    in div (created by Row)
    in Row (at ThreadPage.js:72)
    in div (created by Container)
    in Container (at ThreadPage.js:71)
    in div (created by Col)
    in Col (at ThreadPage.js:125)
    in div (created by Row)
    in Row (at ThreadPage.js:124)
    in div (created by Container)
    in Container (at ThreadPage.js:119)
    in div (at ThreadPage.js:118)
    in div (at ThreadPage.js:114)
    in ThreadPage (created by Context.Consumer)
    in Route (at src/index.js:72)
    in Switch (at src/index.js:70)
    in Router (created by BrowserRouter)
    in BrowserRouter (at src/index.js:67)
    in StrictMode (at src/index.js:65)
console.<computed> @ index.js:1
ArticleCard.js:18 sent:  undefined
ArticleCard.js:18 sent:  undefined
SentimentCard.js:34 sentdata Array(0)
index.js:1 Warning: Encountered two children with the same key, `2`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    in div (created by Col)
    in Col (at ThreadPage.js:73)
    in div (created by Row)
    in Row (at ThreadPage.js:72)
    in div (created by Container)
    in Container (at ThreadPage.js:71)
    in div (created by Col)
    in Col (at ThreadPage.js:125)
    in div (created by Row)
    in Row (at ThreadPage.js:124)
    in div (created by Container)
    in Container (at ThreadPage.js:119)
    in div (at ThreadPage.js:118)
    in div (at ThreadPage.js:114)
    in ThreadPage (created by Context.Consumer)
    in Route (at src/index.js:72)
    in Switch (at src/index.js:70)
    in Router (created by BrowserRouter)
    in BrowserRouter (at src/index.js:67)
    in StrictMode (at src/index.js:65)
console.<computed> @ index.js:1
ArticleCard.js:18 sent:  undefined
ArticleCard.js:18 sent:  undefined
SentimentCard.js:34 sentdata Array(0)
index.js:1 Warning: Encountered two children with the same key, `3`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    in div (created by Col)
    in Col (at ThreadPage.js:73)
    in div (created by Row)
    in Row (at ThreadPage.js:72)
    in div (created by Container)
    in Container (at ThreadPage.js:71)
    in div (created by Col)
    in Col (at ThreadPage.js:125)
    in div (created by Row)
    in Row (at ThreadPage.js:124)
    in div (created by Container)
    in Container (at ThreadPage.js:119)
    in div (at ThreadPage.js:118)
    in div (at ThreadPage.js:114)
    in ThreadPage (created by Context.Consumer)
    in Route (at src/index.js:72)
    in Switch (at src/index.js:70)
    in Router (created by BrowserRouter)
    in BrowserRouter (at src/index.js:67)
    in StrictMode (at src/index.js:65)
console.<computed> @ index.js:1
ArticleCard.js:18 sent:  undefined
ArticleCard.js:18 sent:  undefined
SentimentCard.js:34 sentdata Array(0)
index.js:1 Warning: Encountered two children with the same key, `4`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    in div (created by Col)
    in Col (at ThreadPage.js:73)
    in div (created by Row)
    in Row (at ThreadPage.js:72)
    in div (created by Container)
    in Container (at ThreadPage.js:71)
    in div (created by Col)
    in Col (at ThreadPage.js:125)
    in div (created by Row)
    in Row (at ThreadPage.js:124)
    in div (created by Container)
    in Container (at ThreadPage.js:119)
    in div (at ThreadPage.js:118)
    in div (at ThreadPage.js:114)
    in ThreadPage (created by Context.Consumer)
    in Route (at src/index.js:72)
    in Switch (at src/index.js:70)
    in Router (created by BrowserRouter)
    in BrowserRouter (at src/index.js:67)
    in StrictMode (at src/index.js:65)
console.<computed> @ index.js:1
ArticleCard.js:18 sent:  Object
ArticleCard.js:18 sent:  Object
SentimentCard.js:34 sentdata Array(1)
index.js:1 Warning: Encountered two children with the same key, `5`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    in div (created by Col)
    in Col (at ThreadPage.js:73)
    in div (created by Row)
    in Row (at ThreadPage.js:72)
    in div (created by Container)
    in Container (at ThreadPage.js:71)
    in div (created by Col)
    in Col (at ThreadPage.js:125)
    in div (created by Row)
    in Row (at ThreadPage.js:124)
    in div (created by Container)
    in Container (at ThreadPage.js:119)
    in div (at ThreadPage.js:118)
    in div (at ThreadPage.js:114)
    in ThreadPage (created by Context.Consumer)
    in Route (at src/index.js:72)
    in Switch (at src/index.js:70)
    in Router (created by BrowserRouter)
    in BrowserRouter (at src/index.js:67)
    in StrictMode (at src/index.js:65)
console.<computed> @ index.js:1
ArticleCard.js:18 sent:  undefined
ArticleCard.js:18 sent:  undefined
SentimentCard.js:34 sentdata Array(0)
index.js:1 Warning: Encountered two children with the same key, `6`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    in div (created by Col)
    in Col (at ThreadPage.js:73)
    in div (created by Row)
    in Row (at ThreadPage.js:72)
    in div (created by Container)
    in Container (at ThreadPage.js:71)
    in div (created by Col)
    in Col (at ThreadPage.js:125)
    in div (created by Row)
    in Row (at ThreadPage.js:124)
    in div (created by Container)
    in Container (at ThreadPage.js:119)
    in div (at ThreadPage.js:118)
    in div (at ThreadPage.js:114)
    in ThreadPage (created by Context.Consumer)
    in Route (at src/index.js:72)
    in Switch (at src/index.js:70)
    in Router (created by BrowserRouter)
    in BrowserRouter (at src/index.js:67)
    in StrictMode (at src/index.js:65)
console.<computed> @ index.js:1
ArticleCard.js:18 sent:  undefined
ArticleCard.js:18 sent:  undefined
ArticleCard.js:61 Uncaught TypeError: Cannot read property 'substring' of undefined
    at ArticleCard (ArticleCard.js:61)
    at renderWithHooks (react-dom.development.js:14803)
    at mountIndeterminateComponent (react-dom.development.js:17482)
    at beginWork (react-dom.development.js:18596)
    at HTMLUnknownElement.callCallback (react-dom.development.js:188)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:237)
    at invokeGuardedCallback (react-dom.development.js:292)
    at beginWork$1 (react-dom.development.js:23203)
    at performUnitOfWork (react-dom.development.js:22154)
    at workLoopSync (react-dom.development.js:22130)
    at performSyncWorkOnRoot (react-dom.development.js:21756)
    at react-dom.development.js:11089
    at unstable_runWithPriority (scheduler.development.js:653)
    at runWithPriority$1 (react-dom.development.js:11039)
    at flushSyncCallbackQueueImpl (react-dom.development.js:11084)
    at flushSyncCallbackQueue (react-dom.development.js:11072)
    at scheduleUpdateOnFiber (react-dom.development.js:21199)
    at dispatchAction (react-dom.development.js:15660)
    at ThreadPage.js:32
SentimentCard.js:34 sentdata Array(0)
index.js:1 Warning: Encountered two children with the same key, `7`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    in div (created by Col)
    in Col (at ThreadPage.js:73)
    in div (created by Row)
    in Row (at ThreadPage.js:72)
    in div (created by Container)
    in Container (at ThreadPage.js:71)
    in div (created by Col)
    in Col (at ThreadPage.js:125)
    in div (created by Row)
    in Row (at ThreadPage.js:124)
    in div (created by Container)
    in Container (at ThreadPage.js:119)
    in div (at ThreadPage.js:118)
    in div (at ThreadPage.js:114)
    in ThreadPage (created by Context.Consumer)
    in Route (at src/index.js:72)
    in Switch (at src/index.js:70)
    in Router (created by BrowserRouter)
    in BrowserRouter (at src/index.js:67)
    in StrictMode (at src/index.js:65)
console.<computed> @ index.js:1
ArticleCard.js:18 sent:  Object
ArticleCard.js:18 sent:  Object
SentimentCard.js:34 sentdata Array(1)
index.js:1 Warning: Encountered two children with the same key, `8`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    in div (created by Col)
    in Col (at ThreadPage.js:73)
    in div (created by Row)
    in Row (at ThreadPage.js:72)
    in div (created by Container)
    in Container (at ThreadPage.js:71)
    in div (created by Col)
    in Col (at ThreadPage.js:125)
    in div (created by Row)
    in Row (at ThreadPage.js:124)
    in div (created by Container)
    in Container (at ThreadPage.js:119)
    in div (at ThreadPage.js:118)
    in div (at ThreadPage.js:114)
    in ThreadPage (created by Context.Consumer)
    in Route (at src/index.js:72)
    in Switch (at src/index.js:70)
    in Router (created by BrowserRouter)
    in BrowserRouter (at src/index.js:67)
    in StrictMode (at src/index.js:65)
console.<computed> @ index.js:1
ArticleCard.js:18 sent:  undefined
ArticleCard.js:18 sent:  undefined
SentimentCard.js:34 sentdata Array(0)
index.js:1 Warning: Encountered two children with the same key, `9`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    in div (created by Col)
    in Col (at ThreadPage.js:73)
    in div (created by Row)
    in Row (at ThreadPage.js:72)
    in div (created by Container)
    in Container (at ThreadPage.js:71)
    in div (created by Col)
    in Col (at ThreadPage.js:125)
    in div (created by Row)
    in Row (at ThreadPage.js:124)
    in div (created by Container)
    in Container (at ThreadPage.js:119)
    in div (at ThreadPage.js:118)
    in div (at ThreadPage.js:114)
    in ThreadPage (created by Context.Consumer)
    in Route (at src/index.js:72)
    in Switch (at src/index.js:70)
    in Router (created by BrowserRouter)
    in BrowserRouter (at src/index.js:67)
    in StrictMode (at src/index.js:65)
console.<computed> @ index.js:1
ArticleCard.js:18 sent:  Object
ArticleCard.js:18 sent:  Object
SentimentCard.js:34 sentdata Array(1)
index.js:1 Warning: Encountered two children with the same key, `10`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    in div (created by Col)
    in Col (at ThreadPage.js:73)
    in div (created by Row)
    in Row (at ThreadPage.js:72)
    in div (created by Container)
    in Container (at ThreadPage.js:71)
    in div (created by Col)
    in Col (at ThreadPage.js:125)
    in div (created by Row)
    in Row (at ThreadPage.js:124)
    in div (created by Container)
    in Container (at ThreadPage.js:119)
    in div (at ThreadPage.js:118)
    in div (at ThreadPage.js:114)
    in ThreadPage (created by Context.Consumer)
    in Route (at src/index.js:72)
    in Switch (at src/index.js:70)
    in Router (created by BrowserRouter)
    in BrowserRouter (at src/index.js:67)
    in StrictMode (at src/index.js:65)
console.<computed> @ index.js:1
ArticleCard.js:18 sent:  undefined
ArticleCard.js:18 sent:  undefined
SentimentCard.js:34 sentdata Array(0)
index.js:1 Warning: Encountered two children with the same key, `11`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    in div (created by Col)
    in Col (at ThreadPage.js:73)
    in div (created by Row)
    in Row (at ThreadPage.js:72)
    in div (created by Container)
    in Container (at ThreadPage.js:71)
    in div (created by Col)
    in Col (at ThreadPage.js:125)
    in div (created by Row)
    in Row (at ThreadPage.js:124)
    in div (created by Container)
    in Container (at ThreadPage.js:119)
    in div (at ThreadPage.js:118)
    in div (at ThreadPage.js:114)
    in ThreadPage (created by Context.Consumer)
    in Route (at src/index.js:72)
    in Switch (at src/index.js:70)
    in Router (created by BrowserRouter)
    in BrowserRouter (at src/index.js:67)
    in StrictMode (at src/index.js:65)
console.<computed> @ index.js:1
ArticleCard.js:18 sent:  undefined
ArticleCard.js:18 sent:  undefined
SentimentCard.js:34 sentdata Array(0)
index.js:1 Warning: Encountered two children with the same key, `12`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    in div (created by Col)
    in Col (at ThreadPage.js:73)
    in div (created by Row)
    in Row (at ThreadPage.js:72)
    in div (created by Container)
    in Container (at ThreadPage.js:71)
    in div (created by Col)
    in Col (at ThreadPage.js:125)
    in div (created by Row)
    in Row (at ThreadPage.js:124)
    in div (created by Container)
    in Container (at ThreadPage.js:119)
    in div (at ThreadPage.js:118)
    in div (at ThreadPage.js:114)
    in ThreadPage (created by Context.Consumer)
    in Route (at src/index.js:72)
    in Switch (at src/index.js:70)
    in Router (created by BrowserRouter)
    in BrowserRouter (at src/index.js:67)
    in StrictMode (at src/index.js:65)
console.<computed> @ index.js:1
ArticleCard.js:18 sent:  undefined
ArticleCard.js:18 sent:  undefined
SentimentCard.js:34 sentdata Array(0)
index.js:1 Warning: Encountered two children with the same key, `13`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    in div (created by Col)
    in Col (at ThreadPage.js:73)
    in div (created by Row)
    in Row (at ThreadPage.js:72)
    in div (created by Container)
    in Container (at ThreadPage.js:71)
    in div (created by Col)
    in Col (at ThreadPage.js:125)
    in div (created by Row)
    in Row (at ThreadPage.js:124)
    in div (created by Container)
    in Container (at ThreadPage.js:119)
    in div (at ThreadPage.js:118)
    in div (at ThreadPage.js:114)
    in ThreadPage (created by Context.Consumer)
    in Route (at src/index.js:72)
    in Switch (at src/index.js:70)
    in Router (created by BrowserRouter)
    in BrowserRouter (at src/index.js:67)
    in StrictMode (at src/index.js:65)
console.<computed> @ index.js:1
ArticleCard.js:18 sent:  undefined
ArticleCard.js:18 sent:  undefined
SentimentCard.js:34 sentdata Array(0)
index.js:1 Warning: Encountered two children with the same key, `14`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    in div (created by Col)
    in Col (at ThreadPage.js:73)
    in div (created by Row)
    in Row (at ThreadPage.js:72)
    in div (created by Container)
    in Container (at ThreadPage.js:71)
    in div (created by Col)
    in Col (at ThreadPage.js:125)
    in div (created by Row)
    in Row (at ThreadPage.js:124)
    in div (created by Container)
    in Container (at ThreadPage.js:119)
    in div (at ThreadPage.js:118)
    in div (at ThreadPage.js:114)
    in ThreadPage (created by Context.Consumer)
    in Route (at src/index.js:72)
    in Switch (at src/index.js:70)
    in Router (created by BrowserRouter)
    in BrowserRouter (at src/index.js:67)
    in StrictMode (at src/index.js:65)
console.<computed> @ index.js:1
ArticleCard.js:18 sent:  Object
ArticleCard.js:18 sent:  Object
SentimentCard.js:34 sentdata Array(1)
index.js:1 Warning: Encountered two children with the same key, `15`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    in div (created by Col)
    in Col (at ThreadPage.js:73)
    in div (created by Row)
    in Row (at ThreadPage.js:72)
    in div (created by Container)
    in Container (at ThreadPage.js:71)
    in div (created by Col)
    in Col (at ThreadPage.js:125)
    in div (created by Row)
    in Row (at ThreadPage.js:124)
    in div (created by Container)
    in Container (at ThreadPage.js:119)
    in div (at ThreadPage.js:118)
    in div (at ThreadPage.js:114)
    in ThreadPage (created by Context.Consumer)
    in Route (at src/index.js:72)
    in Switch (at src/index.js:70)
    in Router (created by BrowserRouter)
    in BrowserRouter (at src/index.js:67)
    in StrictMode (at src/index.js:65)
console.<computed> @ index.js:1
ArticleCard.js:18 sent:  undefined
ArticleCard.js:18 sent:  undefined
SentimentCard.js:34 sentdata Array(0)
index.js:1 Warning: Encountered two children with the same key, `16`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    in div (created by Col)
    in Col (at ThreadPage.js:73)
    in div (created by Row)
    in Row (at ThreadPage.js:72)
    in div (created by Container)
    in Container (at ThreadPage.js:71)
    in div (created by Col)
    in Col (at ThreadPage.js:125)
    in div (created by Row)
    in Row (at ThreadPage.js:124)
    in div (created by Container)
    in Container (at ThreadPage.js:119)
    in div (at ThreadPage.js:118)
    in div (at ThreadPage.js:114)
    in ThreadPage (created by Context.Consumer)
    in Route (at src/index.js:72)
    in Switch (at src/index.js:70)
    in Router (created by BrowserRouter)
    in BrowserRouter (at src/index.js:67)
    in StrictMode (at src/index.js:65)
console.<computed> @ index.js:1
ArticleCard.js:18 sent:  undefined
ArticleCard.js:18 sent:  undefined
SentimentCard.js:34 sentdata Array(0)
index.js:1 Warning: Encountered two children with the same key, `17`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    in div (created by Col)
    in Col (at ThreadPage.js:73)
    in div (created by Row)
    in Row (at ThreadPage.js:72)
    in div (created by Container)
    in Container (at ThreadPage.js:71)
    in div (created by Col)
    in Col (at ThreadPage.js:125)
    in div (created by Row)
    in Row (at ThreadPage.js:124)
    in div (created by Container)
    in Container (at ThreadPage.js:119)
    in div (at ThreadPage.js:118)
    in div (at ThreadPage.js:114)
    in ThreadPage (created by Context.Consumer)
    in Route (at src/index.js:72)
    in Switch (at src/index.js:70)
    in Router (created by BrowserRouter)
    in BrowserRouter (at src/index.js:67)
    in StrictMode (at src/index.js:65)
console.<computed> @ index.js:1
ArticleCard.js:18 sent:  undefined
ArticleCard.js:18 sent:  undefined
SentimentCard.js:34 sentdata Array(0)
index.js:1 Warning: Encountered two children with the same key, `18`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    in div (created by Col)
    in Col (at ThreadPage.js:73)
    in div (created by Row)
    in Row (at ThreadPage.js:72)
    in div (created by Container)
    in Container (at ThreadPage.js:71)
    in div (created by Col)
    in Col (at ThreadPage.js:125)
    in div (created by Row)
    in Row (at ThreadPage.js:124)
    in div (created by Container)
    in Container (at ThreadPage.js:119)
    in div (at ThreadPage.js:118)
    in div (at ThreadPage.js:114)
    in ThreadPage (created by Context.Consumer)
    in Route (at src/index.js:72)
    in Switch (at src/index.js:70)
    in Router (created by BrowserRouter)
    in BrowserRouter (at src/index.js:67)
    in StrictMode (at src/index.js:65)
console.<computed> @ index.js:1
ArticleCard.js:18 sent:  undefined
ArticleCard.js:18 sent:  undefined
SentimentCard.js:34 sentdata Array(0)
index.js:1 Warning: Encountered two children with the same key, `19`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    in div (created by Col)
    in Col (at ThreadPage.js:73)
    in div (created by Row)
    in Row (at ThreadPage.js:72)
    in div (created by Container)
    in Container (at ThreadPage.js:71)
    in div (created by Col)
    in Col (at ThreadPage.js:125)
    in div (created by Row)
    in Row (at ThreadPage.js:124)
    in div (created by Container)
    in Container (at ThreadPage.js:119)
    in div (at ThreadPage.js:118)
    in div (at ThreadPage.js:114)
    in ThreadPage (created by Context.Consumer)
    in Route (at src/index.js:72)
    in Switch (at src/index.js:70)
    in Router (created by BrowserRouter)
    in BrowserRouter (at src/index.js:67)
    in StrictMode (at src/index.js:65)
console.<computed> @ index.js:1
ArticleCard.js:18 sent:  undefined
ArticleCard.js:18 sent:  undefined
SentimentCard.js:34 sentdata Array(0)
CommentCol.js:24 Array(6)
CommentCol.js:24 Array(6)
index.js:1 The above error occurred in the <ArticleCard> component:
    in ArticleCard (at ThreadPage.js:74)
    in div (created by Col)
    in Col (at ThreadPage.js:73)
    in div (created by Row)
    in Row (at ThreadPage.js:72)
    in div (created by Container)
    in Container (at ThreadPage.js:71)
    in div (created by Col)
    in Col (at ThreadPage.js:125)
    in div (created by Row)
    in Row (at ThreadPage.js:124)
    in div (created by Container)
    in Container (at ThreadPage.js:119)
    in div (at ThreadPage.js:118)
    in div (at ThreadPage.js:114)
    in ThreadPage (created by Context.Consumer)
    in Route (at src/index.js:72)
    in Switch (at src/index.js:70)
    in Router (created by BrowserRouter)
    in BrowserRouter (at src/index.js:67)
    in StrictMode (at src/index.js:65)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://fb.me/react-error-boundaries to learn more about error boundaries.
console.<computed> @ index.js:1
ArticleCard.js:61 Uncaught (in promise) TypeError: Cannot read property 'substring' of undefined
    at ArticleCard (ArticleCard.js:61)
    at renderWithHooks (react-dom.development.js:14803)
    at mountIndeterminateComponent (react-dom.development.js:17482)
    at beginWork (react-dom.development.js:18596)
    at HTMLUnknownElement.callCallback (react-dom.development.js:188)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:237)
    at invokeGuardedCallback (react-dom.development.js:292)
    at beginWork$1 (react-dom.development.js:23203)
    at performUnitOfWork (react-dom.development.js:22154)
    at workLoopSync (react-dom.development.js:22130)
    at performSyncWorkOnRoot (react-dom.development.js:21756)
    at react-dom.development.js:11089
    at unstable_runWithPriority (scheduler.development.js:653)
    at runWithPriority$1 (react-dom.development.js:11039)
    at flushSyncCallbackQueueImpl (react-dom.development.js:11084)
    at flushSyncCallbackQueue (react-dom.development.js:11072)
    at scheduleUpdateOnFiber (react-dom.development.js:21199)
    at dispatchAction (react-dom.development.js:15660)
    at ThreadPage.js:32

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions