Skip to content

Commit

Permalink
delete unnecessary export of enum
Browse files Browse the repository at this point in the history
  • Loading branch information
MGJamJam committed May 2, 2024
1 parent 37423e7 commit af16116
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bitmovin-analytics-datasource/src/components/QueryEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ import { MyDataSourceOptions, MyQuery } from '../types';
import { fetchLicenses } from '../utils/licenses';
import { DEFAULT_SELECTABLE_QUERY_INTERVAL, SELECTABLE_QUERY_INTERVALS } from '../utils/intervalUtils';

type Props = QueryEditorProps<DataSource, MyQuery, MyDataSourceOptions>;

export enum LoadingState {
enum LoadingState {
Default = 'DEFAULT',
Loading = 'LOADING',
Success = 'SUCCESS',
Error = 'ERROR',
}

type Props = QueryEditorProps<DataSource, MyQuery, MyDataSourceOptions>;

export function QueryEditor({ query, onChange, onRunQuery, datasource }: Props) {
const [selectableLicenses, setSelectableLicenses] = useState<SelectableValue[]>([]);
const [licenseLoadingState, setLicenseLoadingState] = useState<LoadingState>(LoadingState.Default);
Expand Down

0 comments on commit af16116

Please sign in to comment.