File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/react-notion-x/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -360,7 +360,7 @@ export const Block: React.FC<BlockProps> = (props) => {
360
360
</ span >
361
361
</ span >
362
362
)
363
- let headerBlock
363
+ let headerBlock = null
364
364
365
365
//page title takes the h1 so all header blocks are greater
366
366
if ( isH1 ) {
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ const DefaultLinkMemo = React.memo(DefaultLink)
82
82
const DefaultPageLink : React . FC = ( props ) => < a { ...props } />
83
83
const DefaultPageLinkMemo = React . memo ( DefaultPageLink )
84
84
85
- const DefaultEmbed = AssetWrapper
85
+ const DefaultEmbed = ( props ) => < AssetWrapper { ... props } />
86
86
const DefaultHeader = Header
87
87
88
88
// eslint-disable-next-line @typescript-eslint/no-unused-vars
You can’t perform that action at this time.
0 commit comments