From baaaae9a21c5fd3f99a41dcc593e9216d3ae99c2 Mon Sep 17 00:00:00 2001 From: yeon Date: Thu, 5 Dec 2019 17:20:30 +0900 Subject: [PATCH] =?UTF-8?q?[Simplyfy]=20=20subscribe=20function=20?= =?UTF-8?q?=EB=B3=80=EC=88=98=EB=AA=85=20=EB=B3=80=EA=B2=BD=20#140?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit feed인데 comment subscription을 등록하는 함수처럼 이름을 지어서 변경함 --- client/src/composition/Feed/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/composition/Feed/index.tsx b/client/src/composition/Feed/index.tsx index 475e0fac..6902b74b 100644 --- a/client/src/composition/Feed/index.tsx +++ b/client/src/composition/Feed/index.tsx @@ -83,7 +83,7 @@ const FeedList = () => { }); } - const subscribeToNewComments = () => { + const subscribeToNewFeeds = () => { return subscribeToMore({ document: FEEDS_SUBSCRIPTION, variables: { @@ -133,7 +133,7 @@ const FeedList = () => {