From 9c49d4b809da9339d68ea77e33adc89295cbe374 Mon Sep 17 00:00:00 2001 From: hzq Date: Thu, 8 Mar 2018 10:54:47 +0800 Subject: [PATCH] Update SiderMenu.js --- src/components/SiderMenu/SiderMenu.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/SiderMenu/SiderMenu.js b/src/components/SiderMenu/SiderMenu.js index f9abebcd..088a3690 100644 --- a/src/components/SiderMenu/SiderMenu.js +++ b/src/components/SiderMenu/SiderMenu.js @@ -132,8 +132,9 @@ export default class SiderMenu extends PureComponent { > {childrenItems} - ) + ); } + return null; } else { return ( {this.getMenuItemPath(item)} -- GitLab