update editor and components
All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 3s

This commit is contained in:
2026-04-26 02:39:27 +02:00
parent 910c6ab3c7
commit 2f877a9537
48 changed files with 1897 additions and 12314 deletions

View File

@@ -7,7 +7,7 @@ export const Menu = (props, children) => {
};
export const MenuItems = (props) => {
const { items, keyFn = (item, idx) => item.id ?? idx } = props;
const { items } = props;
const itemsSignal = typeof items === "function" ? items : () => items || [];
const renderItem = (item) => {
@@ -28,5 +28,5 @@ export const MenuItems = (props) => {
}, item.label));
};
return each(itemsSignal, renderItem, keyFn);
return each(itemsSignal, renderItem);
};