Skip to content

Commit

Permalink
[Simplyfy] subscribe function 변수명 변경 #140
Browse files Browse the repository at this point in the history
feed인데 comment subscription을 등록하는 함수처럼 이름을 지어서 변경함
  • Loading branch information
WooYeonSeo committed Dec 5, 2019
1 parent 5a35690 commit baaaae9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/composition/Feed/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const FeedList = () => {
});
}

const subscribeToNewComments = () => {
const subscribeToNewFeeds = () => {
return subscribeToMore({
document: FEEDS_SUBSCRIPTION,
variables: {
Expand Down Expand Up @@ -133,7 +133,7 @@ const FeedList = () => {
<NewFeedAlarm
onClick={scrollTop}
data={AlarmMessage}
onEffect={subscribeToNewComments}
onEffect={subscribeToNewFeeds}
/>
</div>

Expand Down

0 comments on commit baaaae9

Please sign in to comment.