fix: "cannot remove collection" related to unused stuff

This commit is contained in:
Sonny
2025-01-21 18:14:43 +01:00
parent fb0345bf68
commit 151ac0602a
8 changed files with 22 additions and 10 deletions

View File

@@ -18,7 +18,6 @@ export default function EditCollectionPage({
name: collection.name,
description: collection.description,
visibility: collection.visibility,
nextId: collection.nextId,
});
const canSubmit = useMemo<boolean>(() => {
const trimmedName = data.name.trim();