Skip to content

Commit

Permalink
fixed lints
Browse files Browse the repository at this point in the history
  • Loading branch information
daneryl committed Jun 5, 2017
1 parent f81e742 commit 0cc2563
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/react/Documents/components/DocumentSidePanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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'));
Expand Down

0 comments on commit 0cc2563

Please sign in to comment.