dufu1991 3 rokov pred
rodič
commit
757dcdcdca
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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;
 	}, []);