Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

fix: og-meta reset

Marc Seitz069d7498991e
diff --git a/components/links/link-sheet/og-section.tsx b/components/links/link-sheet/og-section.tsx
index 2ce553aa..854bcc14 100644
--- a/components/links/link-sheet/og-section.tsx
+++ b/components/links/link-sheet/og-section.tsx
@@ -118,9 +118,9 @@ export default function OGSection({
const resetMetatags = () => {
setData({
...data,
- metaImage: null || (presets?.metaImage ?? null),
- metaTitle: null || (presets?.metaTitle ?? null),
- metaDescription: null || (presets?.metaDescription ?? null),
+ metaImage: presets?.metaImage ?? null,
+ metaTitle: presets?.metaTitle ?? null,
+ metaDescription: presets?.metaDescription ?? null,
});
};