Use JSX syntax for Fragments (#25093)
This commit is contained in:
parent
8f66126b10
commit
5a16bd7bf4
24 changed files with 94 additions and 98 deletions
|
@ -5,14 +5,12 @@ import Trends from 'mastodon/features/getting_started/containers/trends_containe
|
|||
import AccountNavigation from 'mastodon/features/account/navigation';
|
||||
|
||||
const DefaultNavigation = () => (
|
||||
<>
|
||||
{showTrends && (
|
||||
<>
|
||||
<div className='flex-spacer' />
|
||||
<Trends />
|
||||
</>
|
||||
)}
|
||||
</>
|
||||
showTrends ? (
|
||||
<>
|
||||
<div className='flex-spacer' />
|
||||
<Trends />
|
||||
</>
|
||||
) : null
|
||||
);
|
||||
|
||||
class NavigationPortal extends PureComponent {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue