diff --git a/packages/form-js-editor/src/features/properties-panel/PropertiesPanelHeaderProvider.js b/packages/form-js-editor/src/features/properties-panel/PropertiesPanelHeaderProvider.js index a78e876d8..bd3638e4b 100644 --- a/packages/form-js-editor/src/features/properties-panel/PropertiesPanelHeaderProvider.js +++ b/packages/form-js-editor/src/features/properties-panel/PropertiesPanelHeaderProvider.js @@ -42,7 +42,7 @@ export const PropertiesPanelHeaderProvider = { // @Note: We know that we are inside the properties panel context, // so we can savely use the hook here. - // eslint-disable-next-line + // eslint-disable-next-line react-hooks/rules-of-hooks const fieldDefinition = useService('formFields').get(type).config; const Icon = fieldDefinition.icon || iconsByType(type); @@ -65,7 +65,7 @@ export const PropertiesPanelHeaderProvider = { // @Note: We know that we are inside the properties panel context, // so we can savely use the hook here. - // eslint-disable-next-line + // eslint-disable-next-line react-hooks/rules-of-hooks const fieldDefinition = useService('formFields').get(type).config; return fieldDefinition.label || type;