mirror of
https://github.com/snachodog/tok-to-insta-follower-bridge.git
synced 2025-04-10 14:11:22 -06:00
fix: break the loop if it reaches the bottom
This commit is contained in:
parent
57b68651df
commit
acc719b427
@ -155,6 +155,7 @@ export const useRetrieveBskyUsers = () => {
|
|||||||
) {
|
) {
|
||||||
setIsBottomReached(true);
|
setIsBottomReached(true);
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
const documentElement = document.documentElement;
|
const documentElement = document.documentElement;
|
||||||
@ -164,6 +165,7 @@ export const useRetrieveBskyUsers = () => {
|
|||||||
) {
|
) {
|
||||||
setIsBottomReached(true);
|
setIsBottomReached(true);
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user