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 the clear parent button in the edit list dialog. Fixes #1742

Mohamed Bassem8bd3b586c6bc
diff --git a/apps/web/components/dashboard/lists/EditListModal.tsx b/apps/web/components/dashboard/lists/EditListModal.tsx
index 467ce1a1..e1dd49f4 100644
--- a/apps/web/components/dashboard/lists/EditListModal.tsx
+++ b/apps/web/components/dashboard/lists/EditListModal.tsx
@@ -306,7 +306,7 @@ export function EditListModal({
type="button"
variant="ghost"
onClick={() => {
- form.reset({ parentId: null });
+ form.resetField("parentId");
}}
>
<X />