Updated some pages and layouts for navigation noSearch and showBackBtn
• Updated: - some pages and layouts for navigation noSearch and showBackBtn
This commit is contained in:
@@ -71,7 +71,6 @@ class GroupsPage extends React.PureComponent {
|
||||
|
||||
return (
|
||||
<DefaultLayout
|
||||
noSearch
|
||||
title={title}
|
||||
actions={[
|
||||
{
|
||||
|
||||
@@ -52,7 +52,6 @@ class NotificationsPage extends React.PureComponent {
|
||||
|
||||
return (
|
||||
<DefaultLayout
|
||||
noSearch
|
||||
title={title}
|
||||
page='notifications'
|
||||
layout={[
|
||||
|
||||
@@ -5,17 +5,10 @@ import SettingsLayout from '../layouts/settings_layout'
|
||||
class SettingsPage extends React.PureComponent {
|
||||
|
||||
render() {
|
||||
const {
|
||||
children,
|
||||
tabs,
|
||||
title,
|
||||
} = this.props
|
||||
const { children, title } = this.props
|
||||
|
||||
return (
|
||||
<SettingsLayout
|
||||
title={title}
|
||||
tabs={tabs}
|
||||
>
|
||||
<SettingsLayout title={title}>
|
||||
{children}
|
||||
</SettingsLayout>
|
||||
)
|
||||
@@ -25,7 +18,6 @@ class SettingsPage extends React.PureComponent {
|
||||
|
||||
SettingsPage.propTypes = {
|
||||
children: PropTypes.node.isRequired,
|
||||
tabs: PropTypes.array,
|
||||
title: PropTypes.string,
|
||||
}
|
||||
|
||||
|
||||
@@ -25,6 +25,7 @@ class ShortcutsPage extends React.PureComponent {
|
||||
|
||||
return (
|
||||
<DefaultLayout
|
||||
showBackBtn
|
||||
title={title}
|
||||
page='shortcuts'
|
||||
actions={[
|
||||
|
||||
Reference in New Issue
Block a user