Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lixun910 committed Nov 26, 2024
1 parent 8edff99 commit 673c75c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/demo-app/src/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import {routerReducer, routerMiddleware} from 'react-router-redux';
import {browserHistory} from 'react-router';
import {createLogger} from 'redux-logger';
import {enhanceReduxMiddleware} from '@kepler.gl/reducers';
import {createLogger} from 'redux-logger';
// eslint-disable-next-line no-unused-vars
import window from 'global/window';
import thunk from 'redux-thunk';

import demoReducer from './reducers/index';

Expand Down
2 changes: 2 additions & 0 deletions src/ai-assistant/src/components/ai-assistant-component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export type AiAssistantComponentProps = {
updateAiAssistantMessages: ActionHandler<typeof updateAiAssistantMessages>;
setStartScreenCapture: ActionHandler<typeof setStartScreenCapture>;
setScreenCaptured: ActionHandler<typeof setScreenCaptured>;
addDatasetContext: ActionHandler<typeof addDatasetContext>;
keplerGlActions: SelectedKeplerGlActions;
mapStyle: MapStyle;
visState: VisState;
Expand All @@ -86,6 +87,7 @@ function AiAssistantComponentFactory() {
updateAiAssistantMessages,
setStartScreenCapture,
setScreenCaptured,
addDatasetContext,
keplerGlActions,
mapStyle,
visState
Expand Down
8 changes: 6 additions & 2 deletions src/ai-assistant/src/components/ai-assistant-manager.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ import {
updateAiAssistantConfig,
updateAiAssistantMessages,
setStartScreenCapture,
setScreenCaptured
setScreenCaptured,
addDatasetContext
} from '../actions';
import AiAssistantConfigFactory from './ai-assistant-config';
import AiAssistantComponentFactory, {SelectedKeplerGlActions} from './ai-assistant-component';
Expand All @@ -36,6 +37,7 @@ export type AiAssistantManagerState = {
updateAiAssistantMessages: ActionHandler<typeof updateAiAssistantMessages>;
setStartScreenCapture: ActionHandler<typeof setStartScreenCapture>;
setScreenCaptured: ActionHandler<typeof setScreenCaptured>;
addDatasetContext: ActionHandler<typeof addDatasetContext>;
};
keplerGlActions: SelectedKeplerGlActions;
aiAssistant: AiAssistantState;
Expand Down Expand Up @@ -136,6 +138,7 @@ function AiAssistantManagerFactory(
updateAiAssistantMessages={aiAssistantActions.updateAiAssistantMessages}
setStartScreenCapture={aiAssistantActions.setStartScreenCapture}
setScreenCaptured={aiAssistantActions.setScreenCaptured}
addDatasetContext={aiAssistantActions.addDatasetContext}
keplerGlActions={keplerGlActions}
mapStyle={mapStyle}
visState={visState}
Expand Down Expand Up @@ -172,7 +175,8 @@ function AiAssistantManagerFactory(
updateAiAssistantConfig,
updateAiAssistantMessages,
setStartScreenCapture,
setScreenCaptured
setScreenCaptured,
addDatasetContext
}
}
)(injectIntl(AiAssistantManager)) as React.FC<AiAssistantManagerProps>;
Expand Down

0 comments on commit 673c75c

Please sign in to comment.