⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.
TypeScript bookmarkbookmark-managercollaborationnextjsreact-nativeread-it-laterself-hostedtypescript
small fix
daniel31x1308a220f4249e
diff --git a/apps/mobile/components/DashboardSection.tsx b/apps/mobile/components/DashboardSection.tsxindex 5eba6acc..6082bb49 100644--- a/apps/mobile/components/DashboardSection.tsx+++ b/apps/mobile/components/DashboardSection.tsx@@ -37,7 +37,11 @@ type DashboardSectionProps = {numberOfLinks: number;collectionsLength: number;numberOfPinnedLinks: number;- dashboardData: { isLoading: boolean; refetch: Function };+ dashboardData: {+ isLoading: boolean;+ refetch: Function;+ isRefetching: boolean;+ };collectionLinks?: any[];};@@ -144,7 +148,10 @@ const DashboardSection: React.FC<DashboardSectionProps> = ({(e) => e.item) as LinkIncludingShortenedCollectionAndTags[];- if (links.some((e) => e.id && !e.preview)) {+ if (+ !dashboardData.isRefetching &&+ links.some((e) => e.id && !e.preview)+ ) {dashboardData.refetch();}}}@@ -224,7 +231,10 @@ const DashboardSection: React.FC<DashboardSectionProps> = ({(e) => e.item) as LinkIncludingShortenedCollectionAndTags[];- if (links.some((e) => e.id && !e.preview)) {+ if (+ !dashboardData.isRefetching &&+ links.some((e) => e.id && !e.preview)+ ) {dashboardData.refetch();}}}@@ -303,7 +313,10 @@ const DashboardSection: React.FC<DashboardSectionProps> = ({(e) => e.item) as LinkIncludingShortenedCollectionAndTags[];- if (links.some((e) => e.id && !e.preview)) {+ if (+ !dashboardData.isRefetching &&+ links.some((e) => e.id && !e.preview)+ ) {dashboardData.refetch();}}}