Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Heenawter committed May 29, 2023
1 parent f7b6226 commit e4671ec
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
Expand Up @@ -99,7 +99,6 @@ export const ControlGroupStrings = {
defaultMessage: '{controlType} settings',
values: { controlType: type },
}),

getFormGroupDescription: (type: string) =>
i18n.translate(
'controls.controlGroup.manageControl.controlTypeSettings.formGroupDescription',
Expand Down
Expand Up @@ -163,8 +163,6 @@ export const ControlEditor = ({
[selectedField, setControlEditorValid, selectedDataView]
);

// useEffect(() => {}, []);

const controlType =
selectedField && fieldRegistry && fieldRegistry[selectedField].compatibleControlTypes[0];
const factory = controlType && getControlFactory(controlType);
Expand Down
Expand Up @@ -104,6 +104,7 @@ export class DashboardSaveModal extends React.Component<Props, State> {
}}
/>
) : undefined;

return (
<Fragment>
<EuiFormRow
Expand Down

0 comments on commit e4671ec

Please sign in to comment.