Skip to content

Commit 594cf73

Browse files
Merge pull request #9 from abhitrueprogrammer/master
fixed filter if no paper match
2 parents 11d98ea + 699bff7 commit 594cf73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/CatalogueContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ const CatalogueContent = () => {
130130
});
131131

132132
setPapers(
133-
papersDataWithFilters.length > 0
133+
papersDataWithFilters.length >= 0
134134
? papersDataWithFilters
135135
: papersData,
136136
);

0 commit comments

Comments
 (0)