Browse Source

back search form

takahiros 6 years ago
parent
commit
56f3b31982
1 changed files with 2 additions and 4 deletions
  1. 2 4
      src/client/js/components/SearchPage/SearchPageForm.jsx

+ 2 - 4
src/client/js/components/SearchPage/SearchPageForm.jsx

@@ -3,6 +3,7 @@ import PropTypes from 'prop-types';
 
 import { createSubscribedElement } from '../UnstatedUtils';
 import AppContainer from '../../services/AppContainer';
+import SearchForm from '../SearchForm';
 
 // Search.SearchForm
 class SearchPageForm extends React.Component {
@@ -32,10 +33,7 @@ class SearchPageForm extends React.Component {
   render() {
     return (
       <div className="input-group mb-3">
-        <input
-          type="text"
-          className="form-control"
-          placeholder="Search ..."
+        <SearchForm
           t={this.props.t}
           onSubmit={this.search}
           keyword={this.state.searchedKeyword}