dufu1991 3 лет назад
Родитель
Сommit
9b4c9b32fb
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      demo/src/App.svelte

+ 1 - 1
demo/src/App.svelte

@@ -11,7 +11,7 @@
 	// Cycle menuList, and combine the childs of all elements into an array
 	const menuListArr = menuList.reduce((acc, cur) => {
 		if (cur.childs) {
-			acc.push(...cur.childs);
+			acc.push(...cur.childs)
 		}
 		return acc;
 	}, []);