Skip to content

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

fix: type

Marc Seitz9e20892f5886
diff --git a/components/links/link-sheet/index.tsx b/components/links/link-sheet/index.tsx
index a03caa5c..587a4978 100644
--- a/components/links/link-sheet/index.tsx
+++ b/components/links/link-sheet/index.tsx
@@ -62,8 +62,6 @@ export const DEFAULT_LINK_PROPS = (
allowDownload: false,
allowList: [],
denyList: [],
- enableAllowList: false,
- enableDenyList: false,
enableNotification: true,
enableFeedback: false,
enableScreenshotProtection: false,
@@ -102,8 +100,6 @@ export type DEFAULT_LINK_TYPE = {
allowDownload: boolean;
allowList: string[];
denyList: string[];
- enableAllowList: boolean;
- enableDenyList: boolean;
enableNotification: boolean;
enableFeedback: boolean;
enableScreenshotProtection: boolean;
diff --git a/pages/settings/presets/new.tsx b/pages/settings/presets/new.tsx
index dc4acb7f..a1297f03 100644
--- a/pages/settings/presets/new.tsx
+++ b/pages/settings/presets/new.tsx
@@ -259,7 +259,7 @@ export default function NewPreset() {
<h2 className="text-lg font-medium">Preview</h2>
</div> */}
<div className="p-4">
- <Preview data={data} setData={setData} />
+ <Preview data={data as any} setData={setData as any} />
</div>
</div>
</div>