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.

Commit1378403

Browse files
committed
chore(typo): origialCommunity -> originalCommunity
1 parente49a07c commit1378403

File tree

20 files changed

+24
-24
lines changed

20 files changed

+24
-24
lines changed

‎src/containers/Comments/store.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ const CommentsStore = T.model('CommentsStore', {
133133
// const viewingCommunity = stripMobx(self.root.viewing.community)
134134
// if (viewingCommunity.raw) return viewingCommunity.raw
135135

136-
returnself.root.viewing.viewingData.origialCommunity.raw
136+
returnself.root.viewing.viewingData.originalCommunity.raw
137137
},
138138
getactiveThread(){
139139
const{ activeThread, viewingThread}=self.root.viewing

‎src/containers/Preview/logic.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const DataResolver = [
5050
targetUrl=`/user/${data.login}`
5151
}else{
5252
constcommunityRaw=
53-
store.curCommunity.raw||data.origialCommunity.raw
53+
store.curCommunity.raw||data.originalCommunity.raw
5454

5555
targetUrl=`/${communityRaw}/${thread}/${data.id}`
5656
}

‎src/containers/viewer/JobViewer/schema.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const job = gql`
1212
tags {
1313
${F.tag}
1414
}
15-
origialCommunity {
15+
originalCommunity {
1616
${F.community}
1717
}
1818
communities {

‎src/containers/viewer/PostViewer/schema.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const post = gql`
1212
tags {
1313
${F.tag}
1414
}
15-
origialCommunity {
15+
originalCommunity {
1616
${F.community}
1717
}
1818
commentsParticipators {

‎src/containers/viewer/RepoViewer/schema.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const repo = gql`
88
tags {
99
${F.tag}
1010
}
11-
origialCommunity {
11+
originalCommunity {
1212
${F.community}
1313
}
1414
watchCount

‎src/containers/viewer/VideoViewer/schema.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const video = gql`
1212
tags {
1313
${F.tag}
1414
}
15-
origialCommunity {
15+
originalCommunity {
1616
${F.community}
1717
}
1818
favoritedCount

‎src/pages/job.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export default class JobPage extends React.Component {
8787
viewing:{
8888
job,
8989
activeThread:THREAD.JOB,
90-
community:job.origialCommunity,
90+
community:job.originalCommunity,
9191
},
9292
comments:{ pagedComments},
9393
}

‎src/pages/post.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export async function getServerSideProps(props) {
7676
// return { props: { errorCode: 404, target: subPath }}
7777
// }
7878

79-
const{origialCommunity:community, ...viewingContent}=post
79+
const{originalCommunity:community, ...viewingContent}=post
8080
constinitProps={
8181
theme:{
8282
curTheme:parseTheme(sessionState),
@@ -171,7 +171,7 @@ export default PostPage
171171
// viewing: {
172172
// post,
173173
// activeThread: THREAD.POST,
174-
// community: post.origialCommunity,
174+
// community: post.originalCommunity,
175175
// },
176176
// comments: { pagedComments },
177177
// }

‎src/pages/repo.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export default class RepoPage extends React.Component {
8585
viewing:{
8686
repo,
8787
activeThread:THREAD.REPO,
88-
community:repo.origialCommunity,
88+
community:repo.originalCommunity,
8989
},
9090
comments:{ pagedComments},
9191
}

‎src/pages/video.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export default class VideoPage extends React.Component {
8484
viewing:{
8585
video,
8686
activeThread:THREAD.VIDEO,
87-
community:video.origialCommunity,
87+
community:video.originalCommunity,
8888
},
8989
comments:{ pagedComments},
9090
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp