瀏覽代碼

79940 useMemo

SULLEY\ryo-h 4 年之前
父節點
當前提交
75a70a05e5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/ui/src/components/PagePath/PagePathLabel.jsx

+ 1 - 1
packages/ui/src/components/PagePath/PagePathLabel.jsx

@@ -15,7 +15,7 @@ export const PagePathLabel = (props) => {
       return <span dangerouslySetInnerHTML={{ __html: reactElement.props.children }}></span>;
     }
     return <span className={classNames.join(' ')}>{reactElement.props.children}</span>;
-  }, [props.isPathIncludedHtml]);
+  }, [classNames, props.isPathIncludedHtml]);
 
 
   if (props.isLatterOnly) {