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

Commit 69941ed

Browse files
committed
chore(debug): thread list opacity issue
1 parent 68b3a2b commit 69941ed

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

containers/PostsThread/logic.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {
1313
THREAD,
1414
$solver,
1515
scrollIntoEle,
16+
closePreviewer,
1617
// GA,
1718
} from '../../utils'
1819

@@ -35,12 +36,7 @@ let store = null
3536
let sub$ = null
3637

3738
// TODO: move to utils
38-
const validFilter = R.pickBy(
39-
R.compose(
40-
R.not,
41-
R.isEmpty
42-
)
43-
)
39+
const validFilter = R.pickBy(R.compose(R.not, R.isEmpty))
4440

4541
export const inAnchor = () => store.setHeaderFix(false)
4642
export const outAnchor = () => store.setHeaderFix(true)
@@ -188,6 +184,7 @@ const ErrSolver = [
188184

189185
export function init(_store) {
190186
debug('======== init')
187+
closePreviewer()
191188
store = _store
192189
if (sub$) return false // sub$.unsubscribe()
193190
sub$ = sr71$.data().subscribe($solver(DataSolver, ErrSolver))

0 commit comments

Comments
 (0)