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) => {
360360 </ span >
361361 </ span >
362362 )
363- let headerBlock
363+ let headerBlock = null
364364
365365 //page title takes the h1 so all header blocks are greater
366366 if ( isH1 ) {
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ const DefaultLinkMemo = React.memo(DefaultLink)
8282const DefaultPageLink : React . FC = ( props ) => < a { ...props } />
8383const DefaultPageLinkMemo = React . memo ( DefaultPageLink )
8484
85- const DefaultEmbed = AssetWrapper
85+ const DefaultEmbed = ( props ) => < AssetWrapper { ... props } />
8686const DefaultHeader = Header
8787
8888// eslint-disable-next-line @typescript-eslint/no-unused-vars
You can’t perform that action at this time.
0 commit comments