dufu1991 преди 3 години
родител
ревизия
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;
 	}, []);