Skip to content

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

fix: eslint errors

Marc Seitz09867bd5d560
diff --git a/components/links/expiration-section.tsx b/components/links/expiration-section.tsx
index 8d295528..b624c034 100644
--- a/components/links/expiration-section.tsx
+++ b/components/links/expiration-section.tsx
@@ -26,7 +26,7 @@ export default function ExpirationSection({data, setData}: {data: DEFAULT_LINK_T
</div>
<Switch
checked={enabled}
- onCheckedChange={(checked) => setEnabled(!enabled)}
+ onCheckedChange={() => setEnabled(!enabled)}
/>
</div>
{enabled && (
diff --git a/components/links/password-section.tsx b/components/links/password-section.tsx
index 294e8385..258a4bc6 100644
--- a/components/links/password-section.tsx
+++ b/components/links/password-section.tsx
@@ -23,7 +23,7 @@ export default function PasswordSection({data, setData}: {data: DEFAULT_LINK_TYP
</div>
<Switch
checked={enabled}
- onCheckedChange={(checked) => setEnabled(!enabled)}
+ onCheckedChange={() => setEnabled(!enabled)}
/>
</div>
{enabled && (