Skip to content

Commit

Permalink
Fix typo (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianWalters committed Apr 18, 2024
1 parent 38f3f23 commit 404227f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/utility-methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Sanity's image document has fields for hotspot information, which you can query
q("*")
.filter("_type == 'pokemon'")
.grab({
cover: sanityImage("cover", { withHotpot: true }), // 👈 fetch hotspot info
cover: sanityImage("cover", { withHotspot: true }), // 👈 fetch hotspot info
});

// -> { cover: { ..., hotspot: { x: number; y: number; height: number; width: number; } | null } }[]
Expand Down

0 comments on commit 404227f

Please sign in to comment.