Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

fix(web): fix type preventing the upload of .jpgs in attachment box

Mohamed Bassem2434e65799ab
diff --git a/apps/web/components/dashboard/preview/AttachmentBox.tsx b/apps/web/components/dashboard/preview/AttachmentBox.tsx
index d8aa4771..2c785c0f 100644
--- a/apps/web/components/dashboard/preview/AttachmentBox.tsx
+++ b/apps/web/components/dashboard/preview/AttachmentBox.tsx
@@ -114,7 +114,7 @@ export default function AttachmentBox({
<FilePickerButton
title="Attach a Banner"
loading={isAttaching}
- accept=".jgp,.JPG,.jpeg,.png,.webp"
+ accept=".jpg,.JPG,.jpeg,.png,.webp"
multiple={false}
variant="none"
size="none"