Skip to content

Commit a1fdefd

Browse files
Fix: title key can't exist inside title, rich_text should be the key
1 parent b2682fe commit a1fdefd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/notion-compat/src/convert-block.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ export function convertBlock({
227227
if (page) {
228228
if (page.properties.title) {
229229
compatBlock.properties.title = convertRichText(
230-
(page.properties.title as any).title
230+
(page.properties.title as any).rich_text
231231
)
232232
}
233233

0 commit comments

Comments
 (0)