cleanup
This commit is contained in:
parent
42aa58bc68
commit
6e50df6ad3
|
@ -119,7 +119,6 @@ const AppearanceTab = {
|
||||||
|
|
||||||
updateIndex('theme').then(themes => {
|
updateIndex('theme').then(themes => {
|
||||||
themes.forEach(([key, themePromise]) => themePromise.then(data => {
|
themes.forEach(([key, themePromise]) => themePromise.then(data => {
|
||||||
console.log('DEBUG', data)
|
|
||||||
if (!data) {
|
if (!data) {
|
||||||
console.warn(`Theme with key ${key} is empty or malformed`)
|
console.warn(`Theme with key ${key} is empty or malformed`)
|
||||||
} else if (Array.isArray(data)) {
|
} else if (Array.isArray(data)) {
|
||||||
|
|
Loading…
Reference in a new issue