From 6c04b773d070e735917cf1e048f8c619b9877e7d Mon Sep 17 00:00:00 2001 From: Sonic Xiang Date: Tue, 10 Mar 2020 23:38:51 +0800 Subject: [PATCH] Fix warning --- src/components/FeedContent.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/FeedContent.js b/src/components/FeedContent.js index 7b450537..207f65ee 100644 --- a/src/components/FeedContent.js +++ b/src/components/FeedContent.js @@ -184,7 +184,6 @@ const FeedContent = props => { const getTitleOpacity = (top) => { const showTitleTop = 50 - const showDelta = 50 const calTop = top - showTitleTop const ttitleOpacity = calTop > 0 ? 1 : 0 return {titleOpacity: ttitleOpacity, titleCursor: ttitleOpacity === 1 ? 'auto': 'default'}