Skip to content

Commit 7c083a1

Browse files
committed
fix(cubejs-playground): update query builder * 5
1 parent 91223ed commit 7c083a1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/cubejs-playground/src/QueryBuilderV2/QueryBuilderInternals.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const QueryBuilderInternals = memo(function QueryBuilderInternals() {
9595
<QueryBuilderPanel>
9696
<QueryBuilderSidePanel />
9797

98-
<Panel ref={ref} gridRows="min-content min-content minmax(0, 1fr)" border="right 1ow">
98+
<Panel ref={ref} gridRows="min-content min-content minmax(0, 1fr)">
9999
{useMemo(
100100
() => (
101101
<>

packages/cubejs-playground/src/QueryBuilderV2/components/AddFilterInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ export function AddFilterInput(props: AddFilterInputProps) {
208208
}, [onDateRangeAdd]);
209209

210210
const disabledKeys = useMemo(() => {
211-
const disabledKeys = [];
211+
const disabledKeys: string[] = [];
212212

213213
if (!dateRanges.length) {
214214
disabledKeys.push('dateRange');

packages/cubejs-playground/src/QueryBuilderV2/components/FilterOptionsButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export interface FilterOptionsButtonProps {
2424

2525
export function FilterOptionsButton({ type, disableKeys, onAction }: FilterOptionsButtonProps) {
2626
const items = useMemo(() => {
27-
const items = [];
27+
const items: { key: string, label: string, color?: string }[] = [];
2828

2929
if (type === 'or' || type === 'and') {
3030
if (type === 'and') {

0 commit comments

Comments
 (0)