mirror of
https://github.com/outline/outline.git
synced 2026-12-06 03:05:08 +03:00
Merge pull request #422 from outline/jori/lint-heading
Fixed flow issue with Heading
This commit is contained in:
1 file changed
-1
@@ -29,7 +29,6 @@ function Heading(props: Props) {
|
||||
component = 'h1',
|
||||
className,
|
||||
attributes,
|
||||
className,
|
||||
} = props;
|
||||
const parentIsDocument = parent instanceof Document;
|
||||
const firstHeading = parentIsDocument && parent.nodes.first() === node;
|
||||
|
||||
Reference in new issue
Block a user