docs: adds missing quote in example code (#8209)

This commit is contained in:
James Ray 2022-10-15 03:26:10 -07:00 committed by GitHub
parent 52a42b0ece
commit 329fc63a02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,7 @@ useHead({
bodyAttrs: { bodyAttrs: {
class: 'test' class: 'test'
}, },
script: [ { children: 'console.log(\'Hello world\') } ] script: [ { children: 'console.log(\'Hello world\')' } ]
}) })
</script> </script>
``` ```