chore: bump version (#3815)

This commit is contained in:
Alex Yang
2023-08-17 21:01:49 -05:00
committed by GitHub
parent 4d58f2b4c7
commit 96b64e1c78
19 changed files with 202 additions and 187 deletions

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 ||