2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-05-06 17:53:44 +00:00

[UI] Remove debug message (#11854)

This commit is contained in:
Oliver
2026-05-03 19:23:33 +10:00
committed by GitHub
parent 62b06502a8
commit 12c060c7d1
@@ -242,11 +242,6 @@ export function ApiFormField({
/> />
); );
default: default:
// This should never happen - it represents a critical UI issue which should be caught in CI
console.error(
`Invalid field type for field '${fieldName}': '${fieldDefinition.field_type}'`
);
return ( return (
<Alert color='red' title={t`Error`}> <Alert color='red' title={t`Error`}>
Invalid field type for field '{fieldName}': ' Invalid field type for field '{fieldName}': '