mirror of
https://github.com/priyanshujain/margin.git
synced 2026-10-02 19:17:03 +00:00
changes
This commit is contained in:
1 parent
734ded73ac
commit
c86d5a7d5c
14 files changed
+671
-86
No files matched your search
@@ -354,6 +354,7 @@ function buildChapter(
|
||||
id: crypto.randomUUID(),
|
||||
title: title || `Chapter ${index + 1}`,
|
||||
content: { type: "doc", content: blocks.length ? blocks : [{ type: "paragraph" }] },
|
||||
updatedAt: Date.now(),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user