From 1de38c71c00f100733368f386252abb90f0d599a Mon Sep 17 00:00:00 2001 From: Zeu Capua Date: Thu, 3 Oct 2024 08:46:26 -0700 Subject: [PATCH] give isLoading priority over !session --- pages/explore/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/explore/index.tsx b/pages/explore/index.tsx index 4316fa0939..2ec9925f94 100644 --- a/pages/explore/index.tsx +++ b/pages/explore/index.tsx @@ -195,14 +195,14 @@ function RecommendationSection({ revalidateOnFocus: false, }); - if (!session) { + if (isLoading) { + return ; + } else if (!session) { return ( ); - } else if (isLoading) { - return ; } else if (isError) { return There has been an error. Try reloading the page!; } else if (user && !user.interests) {