Continuing updating the reformatting of propTypes and set redux, intl functions to end of component

• Removing:
- the reformatting of propTypes and set redux, intl functions to end of component
This commit is contained in:
mgabdev
2020-08-17 19:57:35 -05:00
parent 46a0cbca7d
commit ddca693cfc
101 changed files with 2053 additions and 2140 deletions

View File

@@ -48,12 +48,6 @@ class DisplayOptionsModal extends ImmutablePureComponent {
onClose: PropTypes.func.isRequired,
}
updateOnProps = [
'fontSize',
'displayOptionsSettings',
'theme',
]
handleOnFontSizeChange = (e) => {
const fontSizeNames = Object.keys(FONT_SIZES)
const index = fontSizeNames[e.target.value]

View File

@@ -41,12 +41,6 @@ class MediaModal extends ImmutablePureComponent {
navigationHidden: false,
}
updateOnProps = [
'media',
'status',
'index',
]
handleSwipe = (index) => {
this.setState({ index: index % this.props.media.size })
}