1
0
Fork 0

🚧 CFP React update

This commit is contained in:
Joost De Cock 2019-05-03 14:10:11 +02:00
parent 83796818b2
commit 444ff667d6
2 changed files with 7 additions and 5 deletions

View file

@ -10,9 +10,11 @@ import Pattern from "pattern";
class App extends Component {
render() {
console.log(freesewing);
console.log({ Pattern });
return <Workbench />;
let instance = new Pattern();
let config = instance.config;
return (
<Workbench freesewing={freesewing} Pattern={Pattern} config={config} />
);
}
}