From cdb7b90e463e544e62d49f0dc4e97355ebec80bc Mon Sep 17 00:00:00 2001 From: Aditya Pawar Date: Thu, 4 Apr 2024 21:46:43 -0700 Subject: [PATCH] Fix loading bug --- src/app/(tabs)/genre/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/(tabs)/genre/index.tsx b/src/app/(tabs)/genre/index.tsx index 119720d..83e4b4d 100644 --- a/src/app/(tabs)/genre/index.tsx +++ b/src/app/(tabs)/genre/index.tsx @@ -295,7 +295,7 @@ function GenreScreen() { {renderFilterDropdown("Topic", currentTopics, genreTopics, setCurrentTopics)} - {genreStoryIds.length === 0 ? ( // Check if there are no story IDs + {genreStoryIds.length === 0 && !isLoading ? ( // Check if there are no story IDs renderNoStoryText() ) : ( <>