Browse Source

79940 useMemo

SULLEY\ryo-h 4 năm trước cách đây
mục cha
commit
75a70a05e5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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) {