Skip to content

Commit

Permalink
Adds Fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
cwhitten committed Apr 23, 2020
1 parent 29c35f3 commit 6178263
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Composer/packages/client/src/components/Header/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import { jsx } from '@emotion/core';
import formatMessage from 'format-message';
import { IconButton } from 'office-ui-fabric-react/lib/Button';
import { useContext, useCallback } from 'react';
import { useContext, useCallback, Fragment } from 'react';

import composerIcon from '../../images/composerIcon.svg';
import { AppUpdaterStatus } from '../../constants';
Expand Down Expand Up @@ -36,10 +36,11 @@ export const Header = props => {
/>
<div css={title}>{formatMessage('Bot Framework Composer')}</div>
{props.botName && (
<Fragment>
<div css={divider} />
<span css={botName}>{`${props.botName} (${props.locale})`}</span>
)
}
</Fragment>
)}
{showUpdateAvailableIcon && (
<IconButton
iconProps={{ iconName: 'History' }}
Expand Down

0 comments on commit 6178263

Please sign in to comment.