Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve unsupported React Fragment syntax #1080

Merged
merged 1 commit into from Feb 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions UNRELEASED.md
Expand Up @@ -14,6 +14,7 @@ Use [the changelog guidelines](https://git.io/polaris-changelog-guidelines) to f

### Bug fixes

- Resolved an unsupported `React.Fragment` syntax ([#1080](https://github.com/Shopify/polaris-react/pull/1080))
- Constrained `DropZone` height based on inherited wrapper height [#908](https://github.com/Shopify/polaris-react/pull/908)

### Documentation
Expand Down
Expand Up @@ -37,7 +37,7 @@ function UserMenu({
const showIndicator = Boolean(message);

const activatorContentMarkup = (
<>
<React.Fragment>
<MessageIndicator active={showIndicator}>
<Avatar
size="small"
Expand All @@ -49,7 +49,7 @@ function UserMenu({
<p className={styles.Name}>{name}</p>
<p className={styles.Detail}>{detail}</p>
</span>
</>
</React.Fragment>
);

return (
Expand Down