Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Sullivan <tsullivan@users.noreply.github.com>
  • Loading branch information
sebelga and tsullivan authored Jun 5, 2023
1 parent 09b1c73 commit 90e8c5e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
8 changes: 4 additions & 4 deletions packages/shared-ux/chrome/navigation/src/ui/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ export { DefaultNavigation } from './default_navigation';
export { getPresets } from './nav_tree_presets';

export type {
CloudLinkDefinition,
GroupDefinition,
NavigationGroupPreset,
NavigationTreeDefinition,
ProjectNavigationDefinition,
NodeDefinition,
NavigationGroupPreset,
GroupDefinition,
ProjectNavigationDefinition,
RecentlyAccessedDefinition,
CloudLinkDefinition,
RootNavigationItemDefinition,
} from './types';
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@ import React from 'react';

const navigationTree: NavigationTreeDefinition = {
body: [
{
type: 'cloudLink',
preset: 'projects',
},
{ type: 'cloudLink', preset: 'projects' },
{ type: 'recentlyAccessed' },
{
type: 'navGroup',
id: 'observability_project_nav',
Expand Down
6 changes: 2 additions & 4 deletions x-pack/plugins/serverless_search/public/layout/nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@ const devTools = getPresets('devtools');

const navigationTree: NavigationTreeDefinition = {
body: [
{
type: 'cloudLink',
preset: 'projects',
},
{ type: 'cloudLink', preset: 'projects' },
{ type: 'recentlyAccessed' },
{
type: 'navGroup',
id: 'search_project_nav',
Expand Down

0 comments on commit 90e8c5e

Please sign in to comment.