From 8644be2073873d6bee49bcad96f0fdfc20829c9e Mon Sep 17 00:00:00 2001 From: Tom Theisel Date: Sun, 25 Sep 2022 09:04:33 +0100 Subject: [PATCH] fix: [object Generator] error Output raw value fixes issue --- .changeset/green-keys-drive.md | 5 +++++ astro-portabletext/components/Raw.astro | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/green-keys-drive.md diff --git a/.changeset/green-keys-drive.md b/.changeset/green-keys-drive.md new file mode 100644 index 0000000..f0d9ab5 --- /dev/null +++ b/.changeset/green-keys-drive.md @@ -0,0 +1,5 @@ +--- +"astro-portabletext": patch +--- + +Fixes [object Generator] output error diff --git a/astro-portabletext/components/Raw.astro b/astro-portabletext/components/Raw.astro index ce14cfa..54603a1 100644 --- a/astro-portabletext/components/Raw.astro +++ b/astro-portabletext/components/Raw.astro @@ -6,4 +6,4 @@ export interface Props { const { value } = Astro.props; --- - \ No newline at end of file +{value} \ No newline at end of file