diff options
| author | Monika Hedman <monika_hedman@brown.edu> | 2019-05-07 16:57:52 -0400 |
|---|---|---|
| committer | Monika Hedman <monika_hedman@brown.edu> | 2019-05-07 16:57:52 -0400 |
| commit | 1785f0b27d95b29c28a94f0ed05f32056ed69d42 (patch) | |
| tree | 127f6468722002deece5000ca3c3d4a0e526b4d1 /src/client/views/SearchItem.tsx | |
| parent | ef54fbecd832e4c8f31144ab9fa217146833a397 (diff) | |
| parent | 6683c5450eb25da291090091421e791bf0498aba (diff) | |
pulled again
Diffstat (limited to 'src/client/views/SearchItem.tsx')
| -rw-r--r-- | src/client/views/SearchItem.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/views/SearchItem.tsx b/src/client/views/SearchItem.tsx index 6021c0736..82cb5404c 100644 --- a/src/client/views/SearchItem.tsx +++ b/src/client/views/SearchItem.tsx @@ -1,8 +1,8 @@ import React = require("react"); -import { Document } from "../../fields/Document"; +import { Doc } from "../../new_fields/Doc"; export interface SearchProps { - doc: Document; + doc: Doc; //description: string; //event: (e: React.MouseEvent<HTMLDivElement>) => void; } @@ -27,8 +27,8 @@ export class SearchItem extends React.Component<SearchProps> { render() { return ( <div className="search-item" onClick={this.onClick}> - <div className="search-title">{this.props.doc.Title}</div> + <div className="search-title">{this.props.doc.title}</div> </div> ); } -}
\ No newline at end of file +}
\ No newline at end of file |
