mirror of
https://github.com/snachodog/tok-to-insta-follower-bridge.git
synced 2025-09-13 07:23:32 -06:00
fix: break the loop if it reaches the bottom
This commit is contained in:
@@ -155,6 +155,7 @@ export const useRetrieveBskyUsers = () => {
|
||||
) {
|
||||
setIsBottomReached(true);
|
||||
setLoading(false);
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
const documentElement = document.documentElement;
|
||||
@@ -164,6 +165,7 @@ export const useRetrieveBskyUsers = () => {
|
||||
) {
|
||||
setIsBottomReached(true);
|
||||
setLoading(false);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user