Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

minor fix

daniel31x13d661c5c6096c
diff --git a/apps/mobile/app/(tabs)/dashboard/index.tsx b/apps/mobile/app/(tabs)/dashboard/index.tsx
index e4b776a0..bfb08188 100644
--- a/apps/mobile/app/(tabs)/dashboard/index.tsx
+++ b/apps/mobile/app/(tabs)/dashboard/index.tsx
@@ -60,7 +60,7 @@ export default function DashboardScreen() {
useEffect(() => {
setNumberOfLinks(
- collections.reduce(
+ collections?.reduce?.(
(accumulator, collection) =>
accumulator + (collection._count as any).links,
0