diff --git a/TODO b/TODO
index d31aa2d..a7c3715 100644
--- a/TODO
+++ b/TODO
@@ -1,7 +1,3 @@
-update header links active (NavLinks)
-
-make sort/filter state local
-
old.removeddit.com
take utc from thread and limit pushshift comments
diff --git a/src/pages/common/Post.js b/src/pages/common/Post.js
index a8398e6..bb10c14 100644
--- a/src/pages/common/Post.js
+++ b/src/pages/common/Post.js
@@ -27,7 +27,7 @@ export default (props) => {
return (
{props.position &&
-
{props.position}}
+
{props.position}}
{prettyScore(props.score)}
@@ -47,11 +47,11 @@ export default (props) => {
to
/r/{props.subreddit}
{props.selftext &&
-
}
+
}
diff --git a/src/pages/subreddit/index.js b/src/pages/subreddit/index.js
index 67c6fdb..571591b 100644
--- a/src/pages/subreddit/index.js
+++ b/src/pages/subreddit/index.js
@@ -3,7 +3,7 @@ import { Link } from 'react-router-dom'
import { getRemovedThreadIDs } from '../../api/removeddit'
import { getThreads } from '../../api/reddit'
import Post from '../common/Post'
-import {connect} from '../../state'
+import { connect } from '../../state'
class Subreddit extends React.Component {
state = {
@@ -11,13 +11,13 @@ class Subreddit extends React.Component {
loading: true
}
- componentDidMount () {
+ componentDidMount() {
const { subreddit = 'all' } = this.props.match.params
this.getRemovedThreads(subreddit)
}
// Check if the subreddit has changed in the url, and fetch threads accordingly
- componentDidUpdate (prevProps) {
+ componentDidUpdate(prevProps) {
const { subreddit: newSubreddit = 'all' } = this.props.match.params
const { subreddit = 'all' } = prevProps.match.params
@@ -27,7 +27,7 @@ class Subreddit extends React.Component {
}
// Download thread IDs from removeddit API, then thread info from reddit API
- getRemovedThreads (subreddit) {
+ getRemovedThreads(subreddit) {
document.title = `/r/${subreddit}`
this.setState({ threads: [], loading: true })
this.props.global.setLoading('Loading removed threads...')
@@ -45,7 +45,7 @@ class Subreddit extends React.Component {
.catch(this.props.global.setError)
}
- render () {
+ render() {
const { subreddit = 'all' } = this.props.match.params
const noThreadsFound = this.state.threads.length === 0 && !this.state.loading
@@ -56,7 +56,7 @@ class Subreddit extends React.Component {
reddit
- ceddit
+ ceddit
{
noThreadsFound
diff --git a/src/pages/thread/Comment.js b/src/pages/thread/Comment.js
index b308d33..d74438f 100644
--- a/src/pages/thread/Comment.js
+++ b/src/pages/thread/Comment.js
@@ -37,7 +37,7 @@ const Comment = (props) => {
{props.replies.map(comment => (