Explorar el Código

delete unused life-cycle method

utsushiiro hace 7 años
padre
commit
961302fccf
Se han modificado 1 ficheros con 0 adiciones y 4 borrados
  1. 0 4
      src/client/js/components/Page.js

+ 0 - 4
src/client/js/components/Page.js

@@ -29,10 +29,6 @@ export default class Page extends React.Component {
     this.appendEditSectionButtons();
   }
 
-  componentWillReceiveProps(nextProps) {
-    this.renderHtml(nextProps.markdown, nextProps.highlightKeywords);
-  }
-
   setMarkdown(markdown) {
     this.renderHtml(markdown, this.props.highlightKeywords);
   }