some commenting

This commit is contained in:
Nouman Tahir 2021-12-03 12:37:18 +05:00
parent d8e7f66595
commit 5e5ad4580f

View File

@ -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,