mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
* TemplateParamsEditor.jsx converted from class to functional component * Fixed import in SqlEditor.jsx * Corrected renderDoc * Corrected renderModalBody * Corrected functional name and import * Corrected props * Corrected modalBody and incorporated renderDoc * Removed t strings * Removed unnecessary single quotes * Editor text updating correctly * Split useState into three different hooks * Removed onChangefunc, adjusted component to use onChange and code from props through useEffect * Added parsedJSON reset to catch in useEffect * Put a throttle on the onChange * Switched from throttle to debounce