-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Connection UI cleanups & tests for prior PR #4020
Conversation
jacogr
commented
Jan 3, 2017
- Slight code formatting cleanups
- Add tests and verify previous fixes in Fix manual input token #3945
} | ||
|
||
export default connect( | ||
mapStateToProps, | ||
mapDispatchToProps | ||
null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line (null
) can just be omitted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer to be explicit, hence putting that in there.
@@ -17,7 +17,6 @@ | |||
import React, { Component, PropTypes } from 'react'; | |||
import { FormattedMessage } from 'react-intl'; | |||
import { connect } from 'react-redux'; | |||
import { bindActionCreators } from 'redux'; | |||
import ActionCompareArrows from 'material-ui/svg-icons/action/compare-arrows'; | |||
import ActionDashboard from 'material-ui/svg-icons/action/dashboard'; | |||
import HardwareDesktopMac from 'material-ui/svg-icons/hardware/desktop-mac'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we use the new ui/Icons
exports there while touching this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, probably, yes. However I left those in there on purpose since the icons they are actually non-button icons where the rest are all meant for buttons.