From af161161a648da3c846dd5f0dd777519a96dc9fa Mon Sep 17 00:00:00 2001 From: MGJamJam Date: Thu, 2 May 2024 11:09:31 -0300 Subject: [PATCH] delete unnecessary export of enum --- .../src/components/QueryEditor.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bitmovin-analytics-datasource/src/components/QueryEditor.tsx b/bitmovin-analytics-datasource/src/components/QueryEditor.tsx index a5abe31..1f8bcf6 100644 --- a/bitmovin-analytics-datasource/src/components/QueryEditor.tsx +++ b/bitmovin-analytics-datasource/src/components/QueryEditor.tsx @@ -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; - -export enum LoadingState { +enum LoadingState { Default = 'DEFAULT', Loading = 'LOADING', Success = 'SUCCESS', Error = 'ERROR', } +type Props = QueryEditorProps; + export function QueryEditor({ query, onChange, onRunQuery, datasource }: Props) { const [selectableLicenses, setSelectableLicenses] = useState([]); const [licenseLoadingState, setLicenseLoadingState] = useState(LoadingState.Default);