dufu1991 пре 3 година
родитељ
комит
757dcdcdca
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;
 	}, []);