Skip to content

Commit

Permalink
remove useeffect
Browse files Browse the repository at this point in the history
  • Loading branch information
gwdawson committed Jan 25, 2024
1 parent 703463d commit e934115
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/ConfigEditor.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { SyntheticEvent, useEffect } from 'react';
import React, { SyntheticEvent } from 'react';
import { Field, Input, SecretInput, Select } from '@grafana/ui';
import {
DataSourcePluginOptionsEditorProps,
Expand Down Expand Up @@ -26,8 +26,6 @@ export function ConfigEditor(props: Props) {
updateDatasourcePluginResetOption(props, 'password');
};

useEffect(() => console.log('options', options), [options]);

return (
<>
<DataSourceDescription
Expand Down

0 comments on commit e934115

Please sign in to comment.