refactor(web): drop redundant fields/visibility casts now the client is typed (#24 #29)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-04 20:20:13 +02:00
parent 5a72f85989
commit 0ee3b970cb
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ export function ObjectEditForm() {
recording_date: object.recording_date ?? null,
};
const defaults = { core, fields: object.fields as Record<string, unknown> };
const defaults = { core, fields: object.fields };
const onSubmit = async (values: ObjectFormValues) => {
setError(null);