1
0
Fork 0

wip(lab): Migrated translation to next-i18next

This commit is contained in:
Joost De Cock 2022-02-10 21:40:19 +01:00
parent 538f22a1e6
commit bbb2b2c23f
25 changed files with 72 additions and 71 deletions

View file

@ -73,7 +73,7 @@ const WorkbenchWrapper = ({ app, pattern }) => {
let draft = false
if (mode === 'draft') {
draft = new pattern(gist)
if (gist?.renderer === 'svg') patternInstance.use(theme)
if (gist?.renderer === 'svg') draft.use(theme)
try { draft.draft() }
catch(error) {
console.log('Failed to draft pattern', error)