mirror of
https://github.com/apache/superset.git
synced 2026-04-25 11:04:48 +00:00
feat(sqllab): Format sql (#25344)
This commit is contained in:
@@ -146,8 +146,10 @@ const AceEditorWrapper = ({
|
||||
};
|
||||
|
||||
const onChangeText = (text: string) => {
|
||||
setSql(text);
|
||||
onChange(text);
|
||||
if (text !== sql) {
|
||||
setSql(text);
|
||||
onChange(text);
|
||||
}
|
||||
};
|
||||
|
||||
const { data: annotations } = useAnnotations({
|
||||
|
||||
Reference in New Issue
Block a user