[Resolved] Get compile error on npm start. (#50)
This commit is contained in:
@@ -130,4 +130,4 @@ const mapStateToProps = (state: any, ownProps: IImgComponentProps) => {
|
||||
}
|
||||
|
||||
// - Connect component to redux store
|
||||
export default connect(mapStateToProps, mapDispatchToProps)(withStyles(styles)(ImgComponent as any)as any)
|
||||
export default connect(mapStateToProps, mapDispatchToProps)(withStyles(styles as any)(ImgComponent as any)as any)
|
||||
|
||||
Reference in New Issue
Block a user