瀏覽代碼

modify comment

utsushiiro 7 年之前
父節點
當前提交
819508d9c2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/client/js/components/PageEditor/HandsontableModal.jsx

+ 1 - 1
src/client/js/components/PageEditor/HandsontableModal.jsx

@@ -39,7 +39,7 @@ export default class HandsontableModal extends React.Component {
           /*
            * AfterUpdateSettings hook is called when this component state changes.
            *
-           * In detail, when this component state changes, React will re-render HotTable because it is a child component of this component.
+           * In detail, when this component state changes, React will re-render HotTable because it is passed some state values of this component.
            * HotTable#shouldComponentUpdate is called in this process and it call the updateSettings method for the Handsontable instance.
            * So, this hook is always called when this component state changes.
            */