SkyeYoung commented on code in PR #3169: URL: https://github.com/apache/apisix-dashboard/pull/3169#discussion_r2272015760
########## src/components/form/Editor.tsx: ########## @@ -31,12 +31,9 @@ import { useTranslation } from 'react-i18next'; import { genControllerProps } from './util'; -type SetupMonacoProps = { - monaco: Monaco; -}; - -const setupMonaco = ({ monaco }: SetupMonacoProps) => { - window.MonacoEnvironment = { +// #region Monaco Editor Setup +const initializeMonacoEditor = () => { + self.MonacoEnvironment = { Review Comment: Currently meaningless. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org