mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-05 18:01:14 +00:00
[UI] Remove debug message (#11854)
This commit is contained in:
1 parent
62b06502a8
commit
12c060c7d1
1 file changed
-5
@@ -242,11 +242,6 @@ export function ApiFormField({
|
||||
/>
|
||||
);
|
||||
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 (
|
||||
<Alert color='red' title={t`Error`}>
|
||||
Invalid field type for field '{fieldName}': '
|
||||
|
||||
Reference in new issue
Block a user