dufu1991 3 gadi atpakaļ
vecāks
revīzija
9b4c9b32fb
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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
 	// Cycle menuList, and combine the childs of all elements into an array
 	const menuListArr = menuList.reduce((acc, cur) => {
 	const menuListArr = menuList.reduce((acc, cur) => {
 		if (cur.childs) {
 		if (cur.childs) {
-			acc.push(...cur.childs);
+			acc.push(...cur.childs)
 		}
 		}
 		return acc;
 		return acc;
 	}, []);
 	}, []);