1
0
Fork 0

chore(cfp): No need to istantiate pattern to get the config

This commit is contained in:
Joost De Cock 2020-09-12 19:04:06 +02:00
parent b59550ca01
commit f4fc10a5fa

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern'
const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations
/*
let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench
freesewing={freesewing}
Pattern={Pattern}
config={config}
config={Pattern.config}
userLanguage="{{language}}"
//translations={translations}
/>