Skip to content

Commit

Permalink
fix: [object Generator] error
Browse files Browse the repository at this point in the history
Output raw value fixes issue
  • Loading branch information
theisel committed Sep 25, 2022
1 parent e547cc9 commit 8644be2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/green-keys-drive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"astro-portabletext": patch
---

Fixes [object Generator] output error
2 changes: 1 addition & 1 deletion astro-portabletext/components/Raw.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ export interface Props {
const { value } = Astro.props;
---

<Fragment set:html={value} />
{value}

0 comments on commit 8644be2

Please sign in to comment.