eschutho commented on code in PR #24204:
URL: https://github.com/apache/superset/pull/24204#discussion_r1204680840


##########
superset-frontend/src/SqlLab/components/SqlEditor/index.jsx:
##########
@@ -253,6 +262,8 @@ const SqlEditor = ({
   const sqlEditorRef = useRef(null);
   const northPaneRef = useRef(null);
 
+  const SqlAIExtension = extensionsRegistry.get('sqleditor.ai.form');

Review Comment:
   After working on the database connections modal extension, I would recommend 
calling the extensionRegistry in the top most component that you think will 
need to have any access to state or any controls that you may want to pass in 
or retrieve later. 



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to