Skip to content

Commit

Permalink
fix(fluent-ui.com): Fix nav header icon
Browse files Browse the repository at this point in the history
  • Loading branch information
xinyao27 committed Aug 18, 2019
1 parent beb9012 commit e0d8c70
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/fluent-ui.com/src/components/docs/nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,7 @@ const Nav = ({ data }: TemplateProps): React.ReactElement => {
<Drawer visible={drawerVisible} onChange={handleDrawerVisible}>
<Navigation ref={rootRef} value={activeId} expanded={true} acrylic height="100%" width={260}>
<Navigation.Header>
<Item onClick={handleExpanded}>
<GlobalNavigationButtonIcon />
</Item>
<Item onClick={handleExpanded} prefix={<GlobalNavigationButtonIcon />} />
</Navigation.Header>
{result.map(
({ type, titles }): React.ReactFragment => {
Expand Down Expand Up @@ -172,9 +170,7 @@ const Nav = ({ data }: TemplateProps): React.ReactElement => {
`}
>
<Navigation.Header>
<Item onClick={handleExpanded}>
<GlobalNavigationButtonIcon />
</Item>
<Item onClick={handleExpanded} prefix={<GlobalNavigationButtonIcon />} />
</Navigation.Header>
{result.map(
({ type, titles }): React.ReactFragment => {
Expand Down

0 comments on commit e0d8c70

Please sign in to comment.