Skip to content

Commit

Permalink
Fragment -> <>
Browse files Browse the repository at this point in the history
  • Loading branch information
Murderlon committed Feb 27, 2024
1 parent 5fb3046 commit 7e1b8a4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/@uppy/provider-views/src/Breadcrumbs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const Breadcrumb = (props: BreadcrumbProps) => {
const { getFolder, title, isLast } = props

return (
<Fragment>
<>
<button
type="button"
className="uppy-u-reset uppy-c-btn"
Expand All @@ -22,7 +22,7 @@ const Breadcrumb = (props: BreadcrumbProps) => {
{title}
</button>
{!isLast ? ' / ' : ''}
</Fragment>
</>
)
}

Expand Down
4 changes: 2 additions & 2 deletions packages/@uppy/provider-views/src/ProviderView/User.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function User({
username,
}: UserProps): JSX.Element {
return (
<Fragment>
<>
<span className="uppy-ProviderBrowser-user" key="username">
{username}
</span>
Expand All @@ -24,6 +24,6 @@ export default function User({
>
{i18n('logOut')}
</button>
</Fragment>
</>
)
}
4 changes: 2 additions & 2 deletions packages/@uppy/provider-views/src/SearchFilterInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default function SearchFilterInput(props: Props): JSX.Element {
}, [form, validateAndSearch])

return (
<Fragment>
<>
<input
className={`uppy-u-reset ${inputClassName}`}
type="search"
Expand Down Expand Up @@ -122,6 +122,6 @@ export default function SearchFilterInput(props: Props): JSX.Element {
{buttonLabel}
</button>
)}
</Fragment>
</>
)
}

0 comments on commit 7e1b8a4

Please sign in to comment.