mirror of https://github.com/buster-so/buster.git
update fixes
This commit is contained in:
parent
cd5fa05b54
commit
8d2df038fb
|
@ -29,7 +29,7 @@
|
|||
"lineWidth": 100
|
||||
},
|
||||
"organizeImports": {
|
||||
"enabled": false
|
||||
"enabled": true
|
||||
},
|
||||
"linter": {
|
||||
"enabled": true,
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
import React from 'react';
|
||||
import type { BusterUserFavorite } from '@/api/asset_interfaces/users';
|
||||
import { ISidebarGroup } from '@/components/ui/sidebar';
|
||||
import type { ISidebarGroup } from '@/components/ui/sidebar';
|
||||
import { assetTypeToIcon, assetTypeToRoute } from '../config/assetIcons';
|
||||
import { useMemoizedFn } from '@/hooks';
|
||||
import {
|
||||
|
@ -41,9 +40,10 @@ export const useFavoriteSidebarPanel = () => {
|
|||
return id === dashboardId;
|
||||
case ShareAssetType.COLLECTION:
|
||||
return id === collectionId;
|
||||
default:
|
||||
default: {
|
||||
const _exhaustiveCheck: never = assetType;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -9,9 +9,7 @@ vi.mock('@/lib/messages', () => ({
|
|||
isNumericColumnType: vi.fn()
|
||||
}));
|
||||
|
||||
const mockedIsNumericColumnType = isNumericColumnType as anyedFunction<
|
||||
typeof isNumericColumnType
|
||||
>;
|
||||
const mockedIsNumericColumnType = isNumericColumnType as anyedFunction<typeof isNumericColumnType>;
|
||||
|
||||
describe('canSupportTrendlineRecord', () => {
|
||||
const trendlineTypes: Trendline['type'][] = [
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import { BusterChartLegendItem } from './interfaces';
|
||||
import type { BusterChartLegendItem } from './interfaces';
|
||||
import { LegendItem } from './LegendItem';
|
||||
import { renderToString } from 'react-dom/server';
|
||||
import React from 'react';
|
||||
|
||||
const WIDTH_OF_OVERFLOW = 79;
|
||||
|
||||
|
|
Loading…
Reference in New Issue