fix: prevent validation errors in workspace/card queries (#356)

* fix: prevent workspace.byId validation errors when publicId is empty

* fix: add keys to shortcut elements

* fix: prevent card.byId validation errors when cardPublicId is empty

* chore: remove invalid config option from next.config.js
This commit is contained in:
Henry
2026-02-02 22:25:54 +00:00
committed by GitHub
parent 81c03b51e2
commit 78b9de869f
11 changed files with 60 additions and 36 deletions

View File

@@ -363,7 +363,7 @@ const ActivityList = ({
limit: ACTIVITIES_PAGE_SIZE,
},
{
enabled: !!cardPublicId,
enabled: !!cardPublicId && cardPublicId.length >= 12,
},
);