Changeset 3764 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/js/client/components/site-header/site-header.jsx
- Timestamp:
- 08/02/2016 07:37:38 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/js/client/components/site-header/site-header.jsx
r3734 r3764 1 1 import React from 'react'; 2 2 3 /**4 * Internal dependencies.5 */6 3 import SearchForm from 'components/search-form'; 7 4 import SiteDescription from './site-description'; … … 21 18 <SiteTitle isHome={ this.props.isHome } /> 22 19 <SiteDescription isHome={ this.props.isHome } /> 23 { this.props.isHome ? <SearchForm /> : <MainNavigation/> }20 { this.props.isHome ? <SearchForm searchTerm={ this.props.searchTerm } /> : <MainNavigation searchTerm={ this.props.searchTerm } /> } 24 21 </div> 25 22 </header>
Note: See TracChangeset
for help on using the changeset viewer.