Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// }
render() {
const { Component, pageProps } = this.props
return (
)
}
}
export default MyApp
// Duplicated from gatstby-tinacms-git
cms.registerApi('git', {
onSubmit(data) {
return commit(data)
},
onChange(data) {
writeToDisk(data)
},
onUploadMedia(data) {
writeMediaToDisk(data)
},
onDelete(data) {
deleteFromDisk(data)
},
isAuthenticated() {
return true
},
})