Added link to home page on search page
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
import React, { Component } from 'react';
|
||||
import { Link } from 'react-router-dom'
|
||||
|
||||
class SearchPage extends Component {
|
||||
render() {
|
||||
return (
|
||||
<div className="search-books">
|
||||
<div className="search-books-bar">
|
||||
<a className="close-search" onClick={() => this.setState({ showSearchPage: false })}>Close</a>
|
||||
<Link className="close-search" to="/">Close</Link>
|
||||
<div className="search-books-input-wrapper">
|
||||
<input type="text" placeholder="Search by title or author"/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user