diff options
| author | madelinegr <laura_wilson@brown.edu> | 2019-06-05 13:40:14 -0400 |
|---|---|---|
| committer | madelinegr <laura_wilson@brown.edu> | 2019-06-05 13:40:14 -0400 |
| commit | 3dc4e6ee14294ae110ac5c6449df804ebe0212a1 (patch) | |
| tree | bf8d4940e5b38e98c3445139f8fd0bee4de4e9c5 /src/client/views/SearchBox.tsx | |
| parent | 51986eb8483237de11120c04ffb4bacb72b2a603 (diff) | |
a bit of clean up
Diffstat (limited to 'src/client/views/SearchBox.tsx')
| -rw-r--r-- | src/client/views/SearchBox.tsx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/client/views/SearchBox.tsx b/src/client/views/SearchBox.tsx index 0fd3c0904..657273791 100644 --- a/src/client/views/SearchBox.tsx +++ b/src/client/views/SearchBox.tsx @@ -1,23 +1,15 @@ import * as React from 'react'; import { observer } from 'mobx-react'; import { observable, action, runInAction } from 'mobx'; -import { Utils } from '../../Utils'; -import { MessageStore } from '../../server/Message'; import "./SearchBox.scss"; import { faSearch, faObjectGroup } from '@fortawesome/free-solid-svg-icons'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { library } from '@fortawesome/fontawesome-svg-core'; -// const app = express(); -// import * as express from 'express'; -import { Search } from '../../server/Search'; import * as rp from 'request-promise'; import { SearchItem } from './SearchItem'; -import { isString } from 'util'; -import { constant } from 'async'; import { DocServer } from '../DocServer'; import { Doc } from '../../new_fields/Doc'; import { Id } from '../../new_fields/FieldSymbols'; -import { DocumentManager } from '../util/DocumentManager'; import { SetupDrag } from '../util/DragManager'; import { Docs } from '../documents/Documents'; import { RouteStore } from '../../server/RouteStore'; @@ -174,7 +166,6 @@ export class SearchBox extends React.Component { @action getViews = async (doc: Doc) => { - console.log("getting view") const results = await SearchUtil.GetViewsOfDocument(doc); let toReturn: Doc[] = []; await runInAction(() => { @@ -199,7 +190,6 @@ export class SearchBox extends React.Component { className="searchBox-barChild searchBox-input" onKeyPress={this.enter} style={{ width: this._resultsOpen ? "500px" : undefined }} /> <button className="searchBox-barChild searchBox-filter" onClick={this.toggleFilterDisplay}>Filter</button> - {/* <FontAwesomeIcon icon="search" size="lg" className="searchBox-barChild searchBox-submit" /> */} </div> {this._resultsOpen ? ( <div className="searchBox-results"> |
