From eab3a8674a21f5f39dc23df971de91201ff14ac6 Mon Sep 17 00:00:00 2001 From: bohandley Date: Mon, 23 Oct 2023 10:34:56 -0400 Subject: [PATCH] fix monaco for Grafana --- src/components/monaco-query-field/MonacoQueryFieldLazy.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/monaco-query-field/MonacoQueryFieldLazy.tsx b/src/components/monaco-query-field/MonacoQueryFieldLazy.tsx index f303f199..797d48b6 100644 --- a/src/components/monaco-query-field/MonacoQueryFieldLazy.tsx +++ b/src/components/monaco-query-field/MonacoQueryFieldLazy.tsx @@ -1,13 +1,14 @@ import React, { Suspense } from 'react'; +import MonacoQueryField from './MonacoQueryField'; import { Props } from './MonacoQueryFieldProps'; -const Field = React.lazy(() => import(/* webpackChunkName: "prom-query-field" */ './MonacoQueryField')); +// const Field = React.lazy(() => import('./MonacoQueryField')); export const MonacoQueryFieldLazy = (props: Props) => { return ( - + ); };