Skip to content

Commit

Permalink
fix attribute bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dvargas92495 committed Apr 18, 2022
1 parent 739f6f9 commit 4043310
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/fireQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,8 @@ const predefinedSelections: PredefinedSelection[] = [
}"] [?b :block/refs ?a] [?b :block/parents ?p]]`
)?.[0]?.[0] as PullBlock;
return {
"": (block[":block/string"] || "").slice(key.length + 2).trim(),
"-uid": block[":block/uid"],
"": (block?.[":block/string"] || "").slice(key.length + 2).trim(),
"-uid": block?.[":block/uid"],
};
},
},
Expand Down

0 comments on commit 4043310

Please sign in to comment.