Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
czgu committed Nov 13, 2024
1 parent a7840a1 commit 84c182b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 15 deletions.
4 changes: 3 additions & 1 deletion querybook/webapp/components/QueryEditor/QueryEditor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@

.cm-gutters {
background-color: var(--bg-query-editor-gutter);
border-right: none;
}

.cm-content {
Expand Down Expand Up @@ -142,7 +143,8 @@
z-index: inherit;

&.cm-panels-bottom {
border-top-width: 1px;
border-top: none;
box-shadow: var(--box-shadow);
}

.cm-panel {
Expand Down
29 changes: 15 additions & 14 deletions querybook/webapp/components/QueryEditor/QueryEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,8 @@ export const QueryEditor: React.FC<
[onSelection]
);

const extensions = useMemo(() => {
return [
const extensions = useMemo(
() => [
sql({
upperCaseKeywords: true,
}),
Expand All @@ -369,18 +369,19 @@ export const QueryEditor: React.FC<
optionsExtension,
searchExtension,
selectionExtension,
];
}, [
keyMapExtention,
statusBarExtension,
eventsExtension,
lintExtension,
autoCompleteExtension,
hoverTooltipExtension,
optionsExtension,
searchExtension,
selectionExtension,
]);
],
[
keyMapExtention,
statusBarExtension,
eventsExtension,
lintExtension,
autoCompleteExtension,
hoverTooltipExtension,
optionsExtension,
searchExtension,
selectionExtension,
]
);

const basicSetup = useMemo(
() => ({
Expand Down

0 comments on commit 84c182b

Please sign in to comment.