Skip to content

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

fix: ensure enabled flag is set to true in useGetLink for link retrieval

daniel31x1344c932265fba
diff --git a/apps/web/pages/links/[id].tsx b/apps/web/pages/links/[id].tsx
index c5ecd6cf..f7677bb8 100644
--- a/apps/web/pages/links/[id].tsx
+++ b/apps/web/pages/links/[id].tsx
@@ -12,10 +12,12 @@ const Index = () => {
const { data } = useGetLink({
id: Number(id) as number,
isPublicRoute,
+ enabled: true,
});
return (
<div className="flex h-screen">
+ {JSON.stringify(isPublicRoute)}
{data?.id ? (
<LinkDetails
activeLink={data}
diff --git a/apps/web/pages/public/links/[id].tsx b/apps/web/pages/public/links/[id].tsx
index c5ecd6cf..eb4796c0 100644
--- a/apps/web/pages/public/links/[id].tsx
+++ b/apps/web/pages/public/links/[id].tsx
@@ -12,6 +12,7 @@ const Index = () => {
const { data } = useGetLink({
id: Number(id) as number,
isPublicRoute,
+ enabled: true,
});
return (