From 1b98fd0aac8d0461520aa7d38059f6a4843c3429 Mon Sep 17 00:00:00 2001 From: Ryan Cohen Date: Sun, 21 Aug 2022 13:06:22 +0900 Subject: [PATCH] fix: pr suggestions --- src/components/Discover/index.tsx | 11 +---------- src/components/Slider/index.tsx | 4 ++-- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/src/components/Discover/index.tsx b/src/components/Discover/index.tsx index 5832fdef8..bc724830e 100644 --- a/src/components/Discover/index.tsx +++ b/src/components/Discover/index.tsx @@ -104,11 +104,7 @@ const Discover = () => { placeholder={} emptyMessage={intl.formatMessage(messages.noRequests)} /> - {!( - !!watchlistItems && - !watchlistError && - watchlistItems.results.length === 0 - ) && ( + {(!watchlistItems || !!watchlistItems.results.length) && !watchlistError && ( <>
@@ -121,11 +117,6 @@ const Discover = () => { ( , }: SliderProps) => {