From c0554f321cf508d098924bf7b29167e973a70e7c Mon Sep 17 00:00:00 2001 From: m5r Date: Thu, 21 Oct 2021 00:41:44 +0200 Subject: [PATCH] hide phone init loader if user is on free plan --- app/phone-calls/components/phone-calls-list.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/phone-calls/components/phone-calls-list.tsx b/app/phone-calls/components/phone-calls-list.tsx index b19c62f..b967e10 100644 --- a/app/phone-calls/components/phone-calls-list.tsx +++ b/app/phone-calls/components/phone-calls-list.tsx @@ -21,7 +21,7 @@ export default function PhoneCallsList() { }, [phoneCalls, query]); if (!phoneCalls) { - return ; + return hasOngoingSubscription ? : null; } if (phoneCalls.length === 0) {