Beginning to reformat propTypes and set redux, intl functions to end of component files
• Beginning: - to reformat propTypes and set redux, intl functions to end of component files
This commit is contained in:
@@ -15,11 +15,7 @@ import {
|
||||
SidebarXS,
|
||||
} from '../features/ui/util/async_components'
|
||||
|
||||
export default class SettingsLayout extends React.PureComponent {
|
||||
|
||||
static propTypes = {
|
||||
title: PropTypes.string,
|
||||
}
|
||||
class SettingsLayout extends React.PureComponent {
|
||||
|
||||
render() {
|
||||
const { children, title } = this.props
|
||||
@@ -85,3 +81,9 @@ export default class SettingsLayout extends React.PureComponent {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
SettingsLayout.propTypes = {
|
||||
title: PropTypes.string,
|
||||
}
|
||||
|
||||
export default SettingsLayout
|
||||
Reference in New Issue
Block a user