dufu1991 vor 3 Jahren
Ursprung
Commit
9b4c9b32fb
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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;
 	}, []);