Skip to content

Commit c2bc24d

Browse files
committed
resolve save scroll position stucked issue
1 parent e96a80c commit c2bc24d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/pages/SearchResultsPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ const SearchResultsPage = ({ user, setUser }: Props): ReactElement => {
142142
setSortLowToHigh(filters.initialSortLowToHigh);
143143
}, [query, filters]);
144144

145-
useSaveScrollPosition(`scrollPosition_${pathName}`, pathName);
145+
// useSaveScrollPosition(`scrollPosition_${pathName}`, pathName);
146146

147147
const saveResultsCount = (count: number) => {
148148
sessionStorage.setItem(`resultsCount_search_${query}`, count.toString());

0 commit comments

Comments
 (0)