Skip to content

Commit 92bfc68

Browse files
committed
fix: do not inherit attrs for <SanityContent>
resolves #1058
1 parent fa8d01a commit 92bfc68

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/runtime/components/sanity-content.ts

+1
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ function renderBlocks(blocks: Array<Block>, serializers: Required<Serializers>)
219219

220220
export default defineComponent({
221221
name: 'SanityContent',
222+
inheritAttrs: false,
222223
props: {
223224
blocks: {
224225
type: Array as () => Array<PortableTextBlock>,

0 commit comments

Comments
 (0)