Commit c0d1287b authored by Sendya's avatar Sendya

fix: SiderMenu collapse type any err

parent 5c4ff41d
...@@ -241,7 +241,7 @@ const SiderMenu: FC<SiderMenuProps> = (props: SiderMenuProps) => { ...@@ -241,7 +241,7 @@ const SiderMenu: FC<SiderMenuProps> = (props: SiderMenuProps) => {
trigger={null} trigger={null}
collapsed={collapsed} collapsed={collapsed}
breakpoint={breakpoint || undefined} breakpoint={breakpoint || undefined}
onCollapse={collapse => { onCollapse={(collapse: boolean) => {
if (props.isMobile) return; if (props.isMobile) return;
onCollapse?.(collapse); onCollapse?.(collapse);
}} }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment