From 823d6a934c590ba69e4b378388ca709b32ad8e44 Mon Sep 17 00:00:00 2001 From: Jori Lallo Date: Sat, 13 May 2017 16:51:27 -0700 Subject: [PATCH] removed old code --- .../scenes/DocumentScene/DocumentScene.js | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/frontend/scenes/DocumentScene/DocumentScene.js b/frontend/scenes/DocumentScene/DocumentScene.js index c23600af8..09021b029 100644 --- a/frontend/scenes/DocumentScene/DocumentScene.js +++ b/frontend/scenes/DocumentScene/DocumentScene.js @@ -147,30 +147,6 @@ class DocumentScene extends React.Component { } }; - renderLayoutTitle() { - const { document, pathToDocument } = this.store; - if (document && document.collection) { - const titleSections = pathToDocument - ? pathToDocument.map(node => ( - {node.title} - )) - : []; - titleSections.unshift( - - {document.collection.name} - - ); - - return ( - -  /  - {titleSections.reduce((prev, curr) => [prev, ' / ', curr])} - {` / ${document.title}`} - - ); - } - } - render() { const { sidebar } = this.props.ui;