Skip to content

Commit 05fa6d8

Browse files
authored
Never pass "searchTerm" for "filter" source content type request (#371)
There was an issue when switching from the "search" back to the "filter" source content type. The "filter" request returned the data from the search request and thus, showed invalid data until the correct data was loaded instead of showing the loading placeholder
1 parent 0495a93 commit 05fa6d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/screens/SourceMangas.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ const useSourceManga = (
121121
case SourceContentType.FILTER:
122122
result = requestManager.useSourceQuickSearch(
123123
sourceId,
124-
searchTerm ?? '',
124+
'',
125125
filters.map((filter) => {
126126
const { position, state, group } = filter;
127127

0 commit comments

Comments
 (0)