Progress and testing status w comments
This commit is contained in:
@@ -1,15 +1,28 @@
|
||||
import { Fragment } from 'react'
|
||||
import { defineMessages, injectIntl } from 'react-intl'
|
||||
import PageTitle from '../features/ui/util/page_title'
|
||||
import LinkFooter from '../components/link_footer'
|
||||
import SearchFilterPanel from '../components/panel/search_filter_panel'
|
||||
import SearchLayout from '../layouts/search_layout'
|
||||
|
||||
export default class SearchPage extends PureComponent {
|
||||
componentDidMount() {
|
||||
document.title = `Search - Gab`
|
||||
const messages = defineMessages({
|
||||
search: { id: 'search', defaultMessage: 'Search' },
|
||||
})
|
||||
|
||||
export default
|
||||
@injectIntl
|
||||
class SearchPage extends PureComponent {
|
||||
|
||||
static propTypes = {
|
||||
intl: PropTypes.object.isRequired,
|
||||
children: PropTypes.node.isRequired,
|
||||
}
|
||||
|
||||
render() {
|
||||
const { children } = this.props
|
||||
const {
|
||||
intl,
|
||||
children,
|
||||
} = this.props
|
||||
|
||||
return (
|
||||
<SearchLayout
|
||||
@@ -21,8 +34,10 @@ export default class SearchPage extends PureComponent {
|
||||
</Fragment>
|
||||
)}
|
||||
>
|
||||
<PageTitle path={intl.formatMessage(messages.search)} />
|
||||
{children}
|
||||
</SearchLayout>
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user