Move “export” before decorators
As this is what upstream does. See also https://github.com/tc39/proposal-decorators/issues/69
This commit is contained in:
@@ -145,8 +145,8 @@ const mapDispatchToProps = dispatch => ({
|
||||
* - Ctrl + left mouse button: pick background
|
||||
* - Right mouse button: pick background
|
||||
*/
|
||||
@connect(mapStateToProps, mapDispatchToProps)
|
||||
export default class DoodleModal extends ImmutablePureComponent {
|
||||
export default @connect(mapStateToProps, mapDispatchToProps)
|
||||
class DoodleModal extends ImmutablePureComponent {
|
||||
|
||||
static propTypes = {
|
||||
options: ImmutablePropTypes.map,
|
||||
|
||||
Reference in New Issue
Block a user