Skip to content

Commit

Permalink
fixing merge
Browse files Browse the repository at this point in the history
  • Loading branch information
ppisljar committed Mar 23, 2020
1 parent 3de6423 commit 6fa5568
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import { mount, shallow } from 'enzyme';
import { act } from 'react-dom/test-utils';

import { IndexPattern, IAggType, AggGroupNames } from 'src/plugins/data/public';
import { VisState } from 'src/legacy/core_plugins/visualizations/public';

import { DefaultEditorAgg, DefaultEditorAggProps } from './agg';
import { DefaultEditorAggParams } from './agg_params';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ export type EditorVisState = Pick<Vis, 'title' | 'description' | 'type' | 'param

const createEditorStateReducer = ({
aggs: { createAggConfigs },
}: DataPublicPluginStart['search']) => (state: EditorVisState, action: EditorAction): VisState => {
}: DataPublicPluginStart['search']) => (
state: EditorVisState,
action: EditorAction
): EditorVisState => {
switch (action.type) {
case EditorStateActionTypes.ADD_NEW_AGG: {
const { schema } = action.payload;
Expand Down

0 comments on commit 6fa5568

Please sign in to comment.