From 803861cc4887588376d839bf3a41c2525b1c26f0 Mon Sep 17 00:00:00 2001 From: jeffvli Date: Sun, 3 Oct 2021 10:30:11 -0700 Subject: [PATCH] Add additional validation for data --- src/components/library/GenreList.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/library/GenreList.tsx b/src/components/library/GenreList.tsx index 1430c1c..469f74e 100644 --- a/src/components/library/GenreList.tsx +++ b/src/components/library/GenreList.tsx @@ -58,14 +58,13 @@ const GenreList = () => { searchQuery={searchQuery} handleSearch={(e: any) => setSearchQuery(e)} clearSearchQuery={() => setSearchQuery('')} - viewTypeSetting="genre" showSearchBar /> } > {isLoading && } {isError &&
Error: {error}
} - {!isLoading && !isError && ( + {!isLoading && genres && !isError && (