diff options
author | 2018-07-06 02:11:40 +0300 | |
---|---|---|
committer | 2023-01-13 10:37:53 +0300 | |
commit | ea1b9039ae221355cfaabb16fc43dab5917bea56 (patch) | |
tree | 9e9c40a33cfcbd69062dae77a68964929f952368 /vnext/src/components/Feeds.js | |
parent | 91faf0911184bb430170d021195d008b977e0ac4 (diff) |
Fix eslint warnings
Diffstat (limited to 'vnext/src/components/Feeds.js')
-rw-r--r-- | vnext/src/components/Feeds.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/vnext/src/components/Feeds.js b/vnext/src/components/Feeds.js index 80e9071b..3cbc7d4b 100644 --- a/vnext/src/components/Feeds.js +++ b/vnext/src/components/Feeds.js @@ -16,7 +16,7 @@ export function Discover(props) { baseUrl: '/messages', pageParam: 'before_mid' }; - return (<Feed authRequired={false} query={query} {...props} />) + return (<Feed authRequired={false} query={query} {...props} />); } export function Discussions(props) { @@ -24,7 +24,7 @@ export function Discussions(props) { baseUrl: '/messages/discussions', pageParam: 'to' }; - return (<Feed authRequired={true} query={query} {...props} />) + return (<Feed authRequired={true} query={query} {...props} />); } export function Blog(props) { @@ -36,7 +36,7 @@ export function Blog(props) { }, pageParam: 'before_mid' }; - return (<Feed authRequired={false} query={query} {...props} />) + return (<Feed authRequired={false} query={query} {...props} />); } export function Tag(props) { @@ -48,7 +48,7 @@ export function Tag(props) { }, pageParam: 'before_mid' }; - return (<Feed authRequired={false} query={query} {...props} />) + return (<Feed authRequired={false} query={query} {...props} />); } export function Home(props) { @@ -56,7 +56,7 @@ export function Home(props) { baseUrl: '/home', pageParam: 'before_mid' }; - return (<Feed authRequired={true} query={query} {...props} />) + return (<Feed authRequired={true} query={query} {...props} />); } class Feed extends React.Component { @@ -101,9 +101,9 @@ class Feed extends React.Component { let newFilter = Object.assign({}, filterParams); newFilter[pageParam] = pageValue; const nextpage = `?${qs.stringify(newFilter)}`; - this.setState({ msgs: data, loading: false, nextpage: nextpage }) + this.setState({ msgs: data, loading: false, nextpage: nextpage }); }).catch(ex => { - this.setState({ error: true }) + this.setState({ error: true }); }); } |