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) => {
trigger={null}
collapsed={collapsed}
breakpoint={breakpoint || undefined}
onCollapse={collapse => {
onCollapse={(collapse: boolean) => {
if (props.isMobile) return;
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