Skip to content

Commit

Permalink
fix(layout): missing appListRender props (#8731)
Browse files Browse the repository at this point in the history
  • Loading branch information
beeant0512 authored Sep 18, 2024
1 parent 8d6ac43 commit 5e04180
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/layout/src/components/SiderMenu/SiderMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -344,11 +344,12 @@ const SiderMenu: React.FC<SiderMenuProps & PrivateSiderMenuProps> = (props) => {
return (
<AppsLogoComponents
onItemClick={props.itemClick}
appListRender={props.appListRender}
appList={props.appList}
prefixCls={props.prefixCls}
/>
);
}, [props.appList, props.prefixCls]);
}, [props.appList, props.appListRender, props.prefixCls]);

const collapsedDom = useMemo(() => {
if (collapsedButtonRender === false) return null;
Expand Down

0 comments on commit 5e04180

Please sign in to comment.