From 44b30494060eab2fbf31ffa28c0ccf35df133402 Mon Sep 17 00:00:00 2001 From: Christopher Gurnee Date: Thu, 21 Apr 2022 22:42:17 +0000 Subject: [PATCH] Fix under-post links when Reddit is broken --- src/pages/thread/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/thread/index.js b/src/pages/thread/index.js index 12d5862..b027bd6 100644 --- a/src/pages/thread/index.js +++ b/src/pages/thread/index.js @@ -91,6 +91,7 @@ class Thread extends React.Component { componentDidMount () { const { subreddit, threadID, commentID } = this.props.match.params + this.state.post = { subreddit, id: threadID } this.props.global.setLoading('Loading post...') console.time('Load comments')