diff options
author | Reverite <github@reverite.sh> | 2019-09-09 20:01:01 -0700 |
---|---|---|
committer | Reverite <github@reverite.sh> | 2019-09-09 20:01:01 -0700 |
commit | 849e2bc4ca11892e701835a4696904d78b1ad325 (patch) | |
tree | b579de6026e032167d7ba837b6f6cb3c7568ea24 /app/javascript/flavours/glitch/features/lists | |
parent | 244196cf4a20005865bf0b9a1d99146e61e59ae4 (diff) | |
parent | 2aa0cdf7e6c44f252ffbcc991a5391c31386058d (diff) |
Merge branch 'glitch' into production
Diffstat (limited to 'app/javascript/flavours/glitch/features/lists')
-rw-r--r-- | app/javascript/flavours/glitch/features/lists/components/new_list_form.js | 4 | ||||
-rw-r--r-- | app/javascript/flavours/glitch/features/lists/index.js | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/javascript/flavours/glitch/features/lists/components/new_list_form.js b/app/javascript/flavours/glitch/features/lists/components/new_list_form.js index eb5b6188a..cc78d30b7 100644 --- a/app/javascript/flavours/glitch/features/lists/components/new_list_form.js +++ b/app/javascript/flavours/glitch/features/lists/components/new_list_form.js @@ -20,9 +20,9 @@ const mapDispatchToProps = dispatch => ({ onSubmit: () => dispatch(submitListEditor(true)), }); -@connect(mapStateToProps, mapDispatchToProps) +export default @connect(mapStateToProps, mapDispatchToProps) @injectIntl -export default class NewListForm extends React.PureComponent { +class NewListForm extends React.PureComponent { static propTypes = { value: PropTypes.string.isRequired, diff --git a/app/javascript/flavours/glitch/features/lists/index.js b/app/javascript/flavours/glitch/features/lists/index.js index ad5240bd5..79bf2e601 100644 --- a/app/javascript/flavours/glitch/features/lists/index.js +++ b/app/javascript/flavours/glitch/features/lists/index.js @@ -31,9 +31,9 @@ const mapStateToProps = state => ({ lists: getOrderedLists(state), }); -@connect(mapStateToProps) +export default @connect(mapStateToProps) @injectIntl -export default class Lists extends ImmutablePureComponent { +class Lists extends ImmutablePureComponent { static propTypes = { params: PropTypes.object.isRequired, |