Skip to content

Commit

Permalink
Fix loading bug
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapawar1 committed Apr 5, 2024
1 parent 80fde61 commit cdb7b90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/(tabs)/genre/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ function GenreScreen() {
{renderFilterDropdown("Topic", currentTopics, genreTopics, setCurrentTopics)}
</View>

{genreStoryIds.length === 0 ? ( // Check if there are no story IDs
{genreStoryIds.length === 0 && !isLoading ? ( // Check if there are no story IDs
renderNoStoryText()
) : (
<>
Expand Down

0 comments on commit cdb7b90

Please sign in to comment.