Skip to content

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

fix(mobile): app crashing when sharing a link on iOS

daniel31x13576d784cf917
diff --git a/apps/mobile/app/_layout.tsx b/apps/mobile/app/_layout.tsx
index 3db01d09..d57adbce 100644
--- a/apps/mobile/app/_layout.tsx
+++ b/apps/mobile/app/_layout.tsx
@@ -66,7 +66,7 @@ export default Sentry.wrap(function RootLayout() {
}, []);
useEffect(() => {
- if (!rootNavState?.key) return;
+ if (!rootNavState?.key || isLoading) return;
if (hasShareIntent && shareIntent.webUrl) {
updateData({
@@ -97,6 +97,7 @@ export default Sentry.wrap(function RootLayout() {
pathname,
shareIntent?.webUrl,
data.shareIntent,
+ isLoading,
]);
return (