mirror of
https://github.com/outline/outline.git
synced 2026-11-26 07:33:19 +03:00
chore: Update syntax, improve more typing (#1439)
* chore: <React.Fragment> to <> * flow types
This commit is contained in:
1 parent
ead55442e0
commit
e2bd03494d
55 files changed
+239
-221
No files matched your search
@@ -161,7 +161,7 @@ class DropdownMenu extends React.Component<Props> {
|
||||
closeOnEsc
|
||||
>
|
||||
{({ closePortal, openPortal, isOpen, portal }) => (
|
||||
<React.Fragment>
|
||||
<>
|
||||
<Label
|
||||
onMouseMove={hover ? this.clearCloseTimeout : undefined}
|
||||
onMouseOut={
|
||||
@@ -220,7 +220,7 @@ class DropdownMenu extends React.Component<Props> {
|
||||
</Menu>
|
||||
</Position>
|
||||
)}
|
||||
</React.Fragment>
|
||||
</>
|
||||
)}
|
||||
</PortalWithState>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user