[Glitch] Remove legacy decorators syntax

Port d1b057a0ac to glitch-soc
This commit is contained in:
neatchee
2023-03-24 15:15:25 -07:00
committed by Claire
parent 00c839b9a9
commit 8215df76c0
146 changed files with 309 additions and 216 deletions

View File

@ -145,7 +145,6 @@ const mapDispatchToProps = dispatch => ({
* - Ctrl + left mouse button: pick background
* - Right mouse button: pick background
*/
export default @connect(mapStateToProps, mapDispatchToProps)
class DoodleModal extends ImmutablePureComponent {
static propTypes = {
@ -612,3 +611,5 @@ class DoodleModal extends ImmutablePureComponent {
}
}
export default connect(mapStateToProps, mapDispatchToProps)(DoodleModal);