From 0cc256317b0553ca477ef98fa9ce05a6a2887f31 Mon Sep 17 00:00:00 2001 From: daneryl Date: Mon, 5 Jun 2017 19:59:42 +0200 Subject: [PATCH] fixed lints --- app/react/Documents/components/DocumentSidePanel.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/react/Documents/components/DocumentSidePanel.js b/app/react/Documents/components/DocumentSidePanel.js index e38dae3664..cde7deff8e 100644 --- a/app/react/Documents/components/DocumentSidePanel.js +++ b/app/react/Documents/components/DocumentSidePanel.js @@ -14,7 +14,7 @@ import ShowIf from 'app/App/ShowIf'; import {NeedAuthorization} from 'app/Auth'; import ShowToc from './ShowToc'; import {MetadataFormButtons} from 'app/Metadata'; -import SearchText from './SearchText'; +//import SearchText from './SearchText'; import {fromJS} from 'immutable'; import {createSelector} from 'reselect'; @@ -82,7 +82,7 @@ export class DocumentSidePanel extends Component { const TocForm = this.props.tocFormComponent; const docAttachments = doc.get('attachments') ? doc.get('attachments').toJS() : []; - const snippets = doc.get('snippets') ? doc.get('snippets').toJS() : []; + //const snippets = doc.get('snippets') ? doc.get('snippets').toJS() : []; const docFile = Object.assign({}, doc.get('file') ? doc.get('file').toJS() : {}); const attachments = doc.get('file') ? [docFile].concat(docAttachments) : docAttachments; const startNewConnection = readOnly ? () => {} : this.props.startNewConnection.bind(null, 'basic', doc.get('sharedId'));