Skip to content

Commit

Permalink
fix(bug): the stupidest error ever #53
Browse files Browse the repository at this point in the history
  • Loading branch information
sawhney17 committed Feb 8, 2023
1 parent 2a4a07d commit 856662f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ const insertLiteratureNoteInline = async (uuid, oc) => {
logseq.Editor.updateBlock(uuid, oc);
console.log("bahhh")
console.log(blocks)
if (blocks = null){
if (blocks == null){
return
}
if (blocks[0].children.length == 0) {
Expand Down

0 comments on commit 856662f

Please sign in to comment.