mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-22 22:30:52 +01:00
Fix InfiniteScroll bug
This commit is contained in:
parent
cf9b7b3d0b
commit
9c8a584ff9
@ -39,7 +39,7 @@ export const InfiniteScroll: FC<InfiniteScrollProps> = props =>
|
||||
|
||||
return () =>
|
||||
{
|
||||
if(timeout) clearTimeout();
|
||||
if(timeout) clearTimeout(timeout);
|
||||
|
||||
timeout = null;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user