Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit5ff311c

Browse files
committed
chore(ramda): missing import upgdate
1 parentc83ed7d commit5ff311c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/stores/ViewingStore/index.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55

66
import{typesasT,getParent}from'mobx-state-tree'
7-
importRfrom'ramda'
7+
import{values,merge}from'ramda'
88

99
import{THREAD}from'@/constant'
1010
import{markStates,buildLog,stripMobx}from'@/utils'
@@ -23,7 +23,7 @@ const ViewingStore = T.model('ViewingStore', {
2323
video:T.optional(Video,{}),
2424
repo:T.optional(Repo,{}),
2525
activeThread:T.optional(
26-
T.enumeration('activeThread',R.values(THREAD)),
26+
T.enumeration('activeThread',values(THREAD)),
2727
THREAD.POST
2828
),
2929
// for preview usage
@@ -78,7 +78,7 @@ const ViewingStore = T.model('ViewingStore', {
7878
}
7979
},
8080
updateViewingUser(sobj){
81-
constuser=R.merge(self.user,sobj)
81+
constuser=merge(self.user,sobj)
8282
returnself.mark({ user})
8383
},
8484
syncViewingItem(item){

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp