Finished updating the reformatting of propTypes and set redux, intl functions to end of component
• Finished: - updating the reformatting of propTypes and set redux, intl functions to end of component • Removed: - Gif implementation
This commit is contained in:
@@ -166,14 +166,6 @@ class DisplayOptionsModal extends ImmutablePureComponent {
|
||||
|
||||
class ThemeBlock extends React.PureComponent {
|
||||
|
||||
static propTypes = {
|
||||
checked: PropTypes.bool,
|
||||
onChange: PropTypes.func.isRequired,
|
||||
title: PropTypes.string,
|
||||
value: PropTypes.string,
|
||||
style: PropTypes.object,
|
||||
}
|
||||
|
||||
render() {
|
||||
const {
|
||||
checked,
|
||||
@@ -215,6 +207,14 @@ class ThemeBlock extends React.PureComponent {
|
||||
|
||||
}
|
||||
|
||||
ThemeBlock.propTypes = {
|
||||
checked: PropTypes.bool,
|
||||
onChange: PropTypes.func.isRequired,
|
||||
title: PropTypes.string,
|
||||
value: PropTypes.string,
|
||||
style: PropTypes.object,
|
||||
}
|
||||
|
||||
const messages = defineMessages({
|
||||
message: { id: 'display_options.message', defaultMessage: 'Display settings affect your Gab account on this browser. These settings are only visible to you.' },
|
||||
title: { id: 'display_options', defaultMessage: 'Customize your view' },
|
||||
|
||||
Reference in New Issue
Block a user