Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
ipcRenderer.on('idyll:save', (event, message) => {
console.log(message);
ipcRenderer.send('save', idyllAST.toMarkup(this.state.ast));
});
}
getMarkup(props) {
return AST.toMarkup({
id: -1,
type: 'component',
name: 'div',
children: [props.idyllASTNode]
})
}