Skip to content

Commit 329b2e4

Browse files
committed
fix: remove unused
1 parent fefd044 commit 329b2e4

File tree

6 files changed

+3
-12
lines changed

6 files changed

+3
-12
lines changed

src/components/ComponentsProvider/componentsRegistry.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ import {StaffCard} from '../User/StaffCard';
66
import type {ComponentsRegistryTemplate} from './registry';
77
import {Registry} from './registry';
88

9-
const AnyPlaceholder = () => null;
9+
const EmptyPlaceholder = () => null;
1010

1111
const componentsRegistryInner = new Registry()
1212
.register('StaffCard', StaffCard)
1313
.register('AsideNavigation', AsideNavigation)
1414
.register('ErrorBoundary', ErrorBoundaryInner)
1515
.register('ShardsTable', ShardsTable)
16-
.register('AIAssistantButton', AnyPlaceholder)
17-
.register('ChatPanel', AnyPlaceholder);
16+
.register('AIAssistantButton', EmptyPlaceholder)
17+
.register('ChatPanel', EmptyPlaceholder);
1818

1919
export type ComponentsRegistry = ComponentsRegistryTemplate<typeof componentsRegistryInner>;
2020

src/components/ComponentsProvider/index.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/containers/UserSettings/i18n/en.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717
"settings.editor.codeAssistant.title": "Code Assistant",
1818
"settings.editor.codeAssistant.description": "Use Code Assistant for autocomplete.",
1919

20-
"settings.editor.aiAssistant.title": "AI Assistant",
21-
"settings.editor.aiAssistant.description": "Show AI Assistant.",
22-
2320
"settings.editor.queryStreaming.title": "Query Streaming",
2421
"settings.editor.queryStreaming.description": "Use streaming api for query results.",
2522

src/lib.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ export {
77
export {AsideNavigation} from './containers/AsideNavigation/AsideNavigation';
88

99
export {configureStore, rootReducer} from './store';
10-
export type {ConfigureStoreOptions} from './store';
1110
export {default as appRoutes} from './routes';
1211

1312
export {YdbEmbeddedAPI} from './services/api';

src/setupProxy.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ const {createProxyMiddleware} = require('http-proxy-middleware');
44
module.exports = function (app) {
55
const metaYdbBackend = process.env.META_YDB_BACKEND;
66

7-
// Proxy for existing YDB meta backend
87
if (metaYdbBackend && metaYdbBackend !== 'undefined') {
98
app.use(
109
'/meta',

src/store/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ export {
1111
export {rootReducer} from './reducers';
1212

1313
export type {AppDispatch, GetState, RootState} from './defaultStore';
14-
export type {ConfigureStoreOptions} from './configureStore';

0 commit comments

Comments
 (0)