From 9c8a584ff951fc4dac5d3d15461409d809f2c670 Mon Sep 17 00:00:00 2001 From: Bill Date: Thu, 17 Nov 2022 14:41:05 -0500 Subject: [PATCH] Fix InfiniteScroll bug --- src/common/InfiniteScroll.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/InfiniteScroll.tsx b/src/common/InfiniteScroll.tsx index 6c782593..fdfe4663 100644 --- a/src/common/InfiniteScroll.tsx +++ b/src/common/InfiniteScroll.tsx @@ -39,7 +39,7 @@ export const InfiniteScroll: FC = props => return () => { - if(timeout) clearTimeout(); + if(timeout) clearTimeout(timeout); timeout = null;