Skip to content

Commit

Permalink
feat: ansi as default dialect on frontend (#535)
Browse files Browse the repository at this point in the history
  • Loading branch information
reata committed Jan 7, 2024
1 parent 078b9b0 commit 241e163
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sqllineagejs/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,6 @@ const useStyles = makeStyles((theme) => ({
let isResizing = null;

const dialects = {
"sqlparse": [
"non-validating"
],
"sqlfluff": [
"ansi",
"athena",
Expand All @@ -112,6 +109,9 @@ const dialects = {
"teradata",
"trino",
"tsql"
],
"sqlparse": [
"non-validating"
]
}

Expand All @@ -122,7 +122,7 @@ export default function App() {
const [drawerOpen, setDrawerOpen] = React.useState(true);
const [drawerWidth, setDrawerWidth] = React.useState(18);
const [dialectMenuAnchor, setDialectMenuAnchor] = React.useState(null);
const [dialectSelected, setDialectSelected] = React.useState("non-validating");
const [dialectSelected, setDialectSelected] = React.useState("ansi");
const classes = useStyles({drawerWidth: drawerWidth});

const height = "90vh";
Expand Down

0 comments on commit 241e163

Please sign in to comment.