diff --git a/src/components/TopbarDesktop/TopbarDesktop.example.js b/src/components/TopbarDesktop/TopbarDesktop.example.js index dc50f621..f9d48a9d 100644 --- a/src/components/TopbarDesktop/TopbarDesktop.example.js +++ b/src/components/TopbarDesktop/TopbarDesktop.example.js @@ -1,7 +1,6 @@ import { fakeIntl } from '../../util/test-data'; import TopbarDesktop from './TopbarDesktop'; - export const AuthenticatedDesktopTopbar = { component: TopbarDesktop, props: { diff --git a/src/components/TopbarDesktop/TopbarDesktop.js b/src/components/TopbarDesktop/TopbarDesktop.js index 727098c9..048f0386 100644 --- a/src/components/TopbarDesktop/TopbarDesktop.js +++ b/src/components/TopbarDesktop/TopbarDesktop.js @@ -49,12 +49,18 @@ const TopbarDesktop = props => { return (
- {intl.formatMessage({ + {intl.formatMessage({ {search}
- + + + {inboxLink} {profileMenu} diff --git a/src/components/TopbarDesktop/TopbarDesktop.test.js b/src/components/TopbarDesktop/TopbarDesktop.test.js index a56c64a9..19bc4062 100644 --- a/src/components/TopbarDesktop/TopbarDesktop.test.js +++ b/src/components/TopbarDesktop/TopbarDesktop.test.js @@ -11,15 +11,9 @@ describe('TopbarDesktop', () => { const flattenedRoutes = flattenRoutes(routesConfiguration); const tree = renderDeep( - + ); expect(tree).toMatchSnapshot(); }); - }); diff --git a/src/containers/StyleguidePage/StyleguidePage.js b/src/containers/StyleguidePage/StyleguidePage.js index 4f7d921b..64c79122 100644 --- a/src/containers/StyleguidePage/StyleguidePage.js +++ b/src/containers/StyleguidePage/StyleguidePage.js @@ -99,12 +99,8 @@ const Nav = props => { const filteredGroups = groups.filter(g => g !== ALL && g !== DEFAULT_GROUP); const basicStylings = ['typography', 'colors']; - const basicStylingGroups = filteredGroups - .filter(g => basicStylings.includes(g)) - .map(toGroupLink); - const componentGroups = filteredGroups - .filter(g => !basicStylings.includes(g)) - .map(toGroupLink); + const basicStylingGroups = filteredGroups.filter(g => basicStylings.includes(g)).map(toGroupLink); + const componentGroups = filteredGroups.filter(g => !basicStylings.includes(g)).map(toGroupLink); return (