Skip to content

Commit

Permalink
Don't fail here
Browse files Browse the repository at this point in the history
  • Loading branch information
benmerckx committed Oct 28, 2024
1 parent 7140a0c commit 902ad9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dashboard/view/entry/NewEntry.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function NewEntryForm({parentId}: NewEntryProps) {
const {data: requestedParent} = useQuery(
['parent-req', parentId],
async () => {
return graph.get({
return graph.first({
select: parentData,
id: parentId,
status: 'preferDraft'
Expand Down

0 comments on commit 902ad9b

Please sign in to comment.