mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-25 14:22:14 +03:00
some commenting
This commit is contained in:
parent
d8e7f66595
commit
5e5ad4580f
@ -32,6 +32,7 @@ export const loadPosts = async ({
|
||||
|
||||
const {isLoading, startPermlink, startAuthor} = tabMeta;
|
||||
|
||||
//reject update if already loading
|
||||
if (
|
||||
isLoading ||
|
||||
!isConnected ||
|
||||
@ -41,6 +42,7 @@ export const loadPosts = async ({
|
||||
return;
|
||||
}
|
||||
|
||||
//reject update if no connection
|
||||
if (!isConnected && (refreshing || isLoading)) {
|
||||
setTabMeta({
|
||||
...tabMeta,
|
||||
|
Loading…
Reference in New Issue
Block a user