(prevProps)
| 29 | } |
| 30 | |
| 31 | componentDidUpdate(prevProps) { |
| 32 | const { query } = this.props; |
| 33 | if (!query.sameAs(prevProps.query)) { |
| 34 | this.fetchSearchResults(); |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | getResultLink(result) { |
| 39 | const { query, location, isPreview } = this.props; |
nothing calls this directly
no test coverage detected