Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
}
dataJson(fileRelativePath: { eq: "/data/author.json" }) {
id
firstName
lastName
location
social {
twitter
}
fileRelativePath
rawJson
}
}
`)
const [author] = useJsonForm(data.dataJson, {
label: "Author",
fields,
})
/*
//for testing single / multiple forms
const author = data.dataJson
*/
return (
<div style="{{">
</div>