Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
rshen91 committed Mar 15, 2022
1 parent 93b5a22 commit e414da2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ import {
import {
AddFromLibraryButton,
LazyLabsFlyout,
PrimaryActionButton,
QuickButtonGroup,
QuickButtonProps,
SolutionToolbar,
withSuspense,
} from '../../../../presentation_util/public';
import { SolutionToolbarButton as PrimaryActionButton } from '../../../../shared_ux/public';

export interface DashboardTopNavState {
chromeIsVisible: boolean;
Expand Down Expand Up @@ -590,7 +590,6 @@ export function DashboardTopNav({
{{
primaryActionButton: (
<PrimaryActionButton
isDarkModeEnabled={IS_DARK_THEME}
label={getCreateVisualizationButtonTitle()}
onClick={createNewVisType(lensAlias)}
iconType="lensApp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ export const EditorMenu = ({ dashboardContainer, createNewVisType }: Props) => {
defaultMessage: 'Select type',
})}
iconType="arrowDown"
iconSide="right"
panelPaddingSize="none"
data-test-subj="dashboardEditorMenuButton"
>
Expand Down

0 comments on commit e414da2

Please sign in to comment.