removed resetting of fetching state

This commit is contained in:
Abhinav 2023-02-04 11:11:52 +05:30
parent 162f697287
commit 1d42926936

View file

@ -168,7 +168,6 @@ interface Props {
isScrolling?: boolean
) => JSX.Element;
activeCollection: number;
resetFetching: () => void;
}
export function PhotoList({
@ -178,7 +177,6 @@ export function PhotoList({
showAppDownloadBanner,
getThumbnail,
activeCollection,
resetFetching,
}: Props) {
const galleryContext = useContext(GalleryContext);
const publicCollectionGalleryContext = useContext(
@ -205,7 +203,6 @@ export function PhotoList({
const refreshList = () => {
listRef.current?.resetAfterIndex(0);
resetFetching();
};
useEffect(() => {