1
0
Fork 0

feat(lab): Respect language setting

This commit is contained in:
Joost De Cock 2022-01-27 13:57:54 +01:00
parent 17a788488c
commit c619662a31
3 changed files with 3 additions and 6 deletions

View file

@ -5,12 +5,9 @@ import Part from './part'
const LabDraft = ({ app, pattern, gist, updateGist }) => {
const patternInstance = new pattern(gist)
patternInstance.draft()
const patternInstance = new pattern(gist).draft()
const patternProps = patternInstance.getRenderProps()
return (
<Svg {...patternProps}>
<Defs {...patternProps} />