Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit 92d16fa

Browse files
committed
chore: Merge branch 'dev'
2 parents 2cb9c1b + 920effb commit 92d16fa

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

containers/PostsThread/logic.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ export const loadPosts = (page = 1) => {
4545
const { subPath: topic } = store.curRoute
4646

4747
// display same-city list instead
48-
// TODO: load same-city communities
4948
if (curCommunity.raw === ROUTE.HOME && topic === THREAD.CITY) return false
5049

5150
const userHasLogin = store.isLogin
@@ -66,7 +65,6 @@ export const loadPosts = (page = 1) => {
6665
}
6766
args.filter = R.pickBy(notEmpty, args.filter)
6867

69-
log('args: ', args)
7068
store.markState({ curView: TYPE.LOADING })
7169
sr71$.query(S.pagedPosts, args)
7270
store.markRoute({ page, ...store.filtersData })
@@ -97,7 +95,6 @@ export const onUserSelect = user =>
9795
})
9896

9997
export const onPreview = data => {
100-
// log('onPreview publish post: ', data)
10198
setTimeout(() => store.setViewedFlag(data.id), 1500)
10299

103100
dispatchEvent(EVENT.PREVIEW_OPEN, {

0 commit comments

Comments
 (0)