Skip to content

Commit

Permalink
Addressing feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
clintandrewhall committed Jan 28, 2021
1 parent 76eb940 commit e488143
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ const TopNav = ({
},
[visInstance.embeddableHandler]
);
const savedObjectsClient = services.savedObjects.client;

const config = useMemo(() => {
if (isEmbeddableRendered) {
Expand All @@ -85,7 +84,6 @@ const TopNav = ({
stateContainer,
visualizationIdFromUrl,
stateTransfer: services.stateTransferService,
savedObjectsClient,
embeddableId,
},
services
Expand All @@ -104,7 +102,6 @@ const TopNav = ({
visualizationIdFromUrl,
services,
embeddableId,
savedObjectsClient,
]);
const [indexPatterns, setIndexPatterns] = useState<IndexPattern[]>(
vis.data.indexPattern ? [vis.data.indexPattern] : []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import {
} from '../../../../saved_objects/public';
import { SavedObjectSaveModalDashboard } from '../../../../presentation_util/public';
import { unhashUrl } from '../../../../kibana_utils/public';
import { SavedObjectsClientContract } from '../../../../../core/public';

import {
VisualizeServices,
Expand All @@ -41,7 +40,6 @@ interface TopNavConfigParams {
stateContainer: VisualizeAppStateContainer;
visualizationIdFromUrl?: string;
stateTransfer: EmbeddableStateTransfer;
savedObjectsClient: SavedObjectsClientContract;
embeddableId?: string;
}

Expand All @@ -55,7 +53,6 @@ export const getTopNavConfig = (
hasUnappliedChanges,
visInstance,
stateContainer,
savedObjectsClient,
visualizationIdFromUrl,
stateTransfer,
embeddableId,
Expand Down

0 comments on commit e488143

Please sign in to comment.