chore: bump version (#3815)

(cherry picked from commit 96b64e1c78)
This commit is contained in:
Alex Yang
2023-08-17 21:01:49 -05:00
parent 36e59d84fa
commit 41cdb411a0
19 changed files with 202 additions and 187 deletions
+2 -2
View File
@@ -106,11 +106,11 @@ const handleEnter = ({
return callback();
};
const shouldShowBookmarkMenu = (pastedBlocks: SerializedBlock[]) => {
const shouldShowBookmarkMenu = (pastedBlocks: Record<string, unknown>[]) => {
if (!pastedBlocks.length || pastedBlocks.length > 1) {
return;
}
const [firstBlock] = pastedBlocks;
const [firstBlock] = pastedBlocks as [SerializedBlock];
if (
!firstBlock.text ||
!firstBlock.text.length ||